You are not logged in.
I use vGPU on proxmox and i am wondering how i install a .run file in arch. When i run the command i get extraction failed. I need this to be able to have accelerated graphics on my arch vm. there has to be a way to repackage it for arch or something.
Offline
I have made some progress. I can now run the driver install but it gives me an error saying failed to build kernel modules. There is no package that can be used from the repo or aur as this .run file enables support for vgpu through proxmox. So far i have found that running the driver install with -e and not installing the drm module it will finish install but not work 100% I have tried the zen kernel and the lts kernel with no luck. I know it isn't recommended to install from a .run file but this is the only way it would work.
Last edited by awptechnologies (2024-08-19 06:47:24)
Offline
I know it isn't recommended to install from a .run file but this is the only way it would work.
Why?
running the driver install with -e and not installing the drm module it will finish install but not work 100%
That only extracts the archive buried in the .run script.
it gives me an error saying failed to build kernel modules
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
You'll likely just lack the kernel headers?
Offline
I will try again this evening and post the nvidia-install.log Thanks seth you have helped me with every issue so far im sure you will help me nip this one to.
Offline
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 20 03:07:53 2024
installer version: 535.161.07
PATH: /usr/local/sbin:/usr/local/bin:/usr/bin
nvidia-installer command line:
./nvidia-installer
--dkms
Unable to load: nvidia-installer ncurses v6 user interface
Unable to load: nvidia-installer ncurses user interface
Using: nvidia-installer ncurses v6 user interface (widechar)
-> Detected 8 CPUs online; setting concurrency level to 8.
-> Installing NVIDIA driver version 535.161.07.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Performing CC check.
-> Kernel source path: '/lib/modules/6.10.5-arch1-1/build'
-> Kernel output path: '/lib/modules/6.10.5-arch1-1/build'
-> Performing Compiler check.
-> Performing Dom0 check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Performing vgpu_kvm check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.5-arch1-1/build" SYSOUT="/lib/modules/6.10.5-arch1-1/build" clean'...
rm -f -r conftest
make[1]: Entering directory '/usr/lib/modules/6.10.5-arch1-1/build'
make[1]: Leaving directory '/usr/lib/modules/6.10.5-arch1-1/build'
-> Building kernel modules
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.5-arch1-1/build" SYSOUT="/lib/modules/6.10.5-arch1-1/build" '...
make[1]: Entering directory '/usr/lib/modules/6.10.5-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
SYMLINK /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: ioremap_driver_hardened
CONFTEST: ioremap_driver_hardened_wc
CONFTEST: ioremap_cache_shared
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: pde_data
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_attr_macros
CONFTEST: dma_map_page_attrs
CONFTEST: write_cr4
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_rebar_get_possible_sizes
CONFTEST: wait_for_random_bytes
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write_has_pointer_pos_arg
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: tegra_bpmp_send_receive
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: cc_platform_has
CONFTEST: seq_read_iter
CONFTEST: unsafe_follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: add_memory_driver_managed
CONFTEST: device_property_read_u64
CONFTEST: devm_of_platform_populate
CONFTEST: of_dma_configure
CONFTEST: of_property_count_elems_of_size
CONFTEST: of_property_read_variable_u8_array
CONFTEST: of_property_read_variable_u32_array
CONFTEST: i2c_new_client_device
CONFTEST: i2c_unregister_device
CONFTEST: of_get_named_gpio
CONFTEST: devm_gpio_request_one
CONFTEST: gpio_direction_input
CONFTEST: gpio_direction_output
CONFTEST: gpio_get_value
CONFTEST: gpio_set_value
CONFTEST: gpio_to_irq
CONFTEST: icc_get
CONFTEST: icc_put
CONFTEST: icc_set_bw
CONFTEST: dma_buf_export_args
CONFTEST: dma_buf_ops_has_kmap
CONFTEST: dma_buf_ops_has_kmap_atomic
CONFTEST: dma_buf_ops_has_map
CONFTEST: dma_buf_ops_has_map_atomic
CONFTEST: dma_buf_has_dynamic_attachment
CONFTEST: dma_buf_attachment_has_peer2peer
CONFTEST: dma_set_mask_and_coherent
CONFTEST: devm_clk_bulk_get_all
CONFTEST: get_task_ioprio
CONFTEST: mdev_set_iommu_device
CONFTEST: offline_and_remove_memory
CONFTEST: crypto_tfm_ctx_aligned
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: ioasid_get
CONFTEST: mm_pasid_drop
CONFTEST: mmget_not_zero
CONFTEST: mmgrab
CONFTEST: iommu_sva_bind_device_has_drvdata_arg
CONFTEST: vm_fault_to_errno
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: pin_user_pages_remote
CONFTEST: pin_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_connector_has_vrr_capable_property
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: nvhost_dma_fence_unpack
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_present_pxm_to_node
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_i2c_bus_status
CONFTEST: is_export_symbol_present_tegra_fuse_control_read
CONFTEST: is_export_symbol_present_pci_find_host_bridge
CONFTEST: is_export_symbol_present_tegra_get_platform
CONFTEST: is_export_symbol_present_tsec_comms_send_cmd
CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco
CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem
CONFTEST: is_export_symbol_present_memory_block_size_bytes
CONFTEST: crypto
CONFTEST: is_export_symbol_present_int_active_memcg
CONFTEST: is_export_symbol_present_migrate_vma_setup
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: remove_memory_has_nid_arg
CONFTEST: pci_dev_has_ats_enabled
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
CONFTEST: num_registered_fb
CONFTEST: pci_driver_has_driver_managed_dma
CONFTEST: vm_area_struct_has_const_vm_flags
CONFTEST: memory_failure_has_trapno_arg
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: mmu_notifier_ops_arch_invalidate_secondary_tlbs
CONFTEST: migrate_vma_added_flags
CONFTEST: migrate_device_range
CONFTEST: handle_mm_fault_has_mm_arg
CONFTEST: handle_mm_fault_has_pt_regs_arg
CONFTEST: mempolicy_has_unified_nodes
CONFTEST: mempolicy_has_home_node
CONFTEST: mpol_preferred_many_present
CONFTEST: mmu_interval_notifier
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_crtc_state_has_vrr_enabled
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_crtc_state_has_no_vblank
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: drm_has_hdr_output_metadata
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_master_has_leases
CONFTEST: drm_file_get_master
CONFTEST: drm_modeset_lock_all_end
CONFTEST: drm_connector_lookup
CONFTEST: drm_connector_put
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: vfio_pci_core_available
CONFTEST: mdev_available
CONFTEST: cmd_uphy_display_port_init
CONFTEST: cmd_uphy_display_port_off
CONFTEST: memory_failure_mf_sw_simulated_defined
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:31:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c: In function 'nv_alloc_nano_timer':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:86:5: note: in expansion of macro 'NV_KMALLOC'
86 | NV_KMALLOC(nv_nstimer, sizeof(nv_nano_timer_t));
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:34:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:293:6: warning: no previous prototype for 'nv_load_dma_map_scatterlist' [-Wmissing-prototypes]
293 | void nv_load_dma_map_scatterlist(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:489:23: warning: no previous prototype for 'nv_dma_unmap_sgt' [-Wmissing-prototypes]
489 | NV_STATUS NV_API_CALL nv_dma_unmap_sgt(
| ^~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvos_create_alloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:262:5: note: in expansion of macro 'NV_KZALLOC'
262 | NV_KZALLOC(at, sizeof(nv_alloc_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:735:12: warning: no previous prototype for 'nvidia_init_module' [-Wmissing-prototypes]
735 | int __init nvidia_init_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:855:6: warning: no previous prototype for 'nvidia_exit_module' [-Wmissing-prototypes]
855 | void nvidia_exit_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_file_private':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:879:5: note: in expansion of macro 'NV_KZALLOC'
879 | NV_KZALLOC(nvlfp, sizeof(nv_linux_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:1124:23: warning: no previous prototype for 'nv_get_num_dpaux_instances' [-Wmissing-prototypes]
1124 | NV_STATUS NV_API_CALL nv_get_num_dpaux_instances(nv_state_t *nv, NvU32 *num_instances)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvidia_ioctl':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2104:5: note: in expansion of macro 'NV_KMALLOC'
2104 | NV_KMALLOC(arg_copy, arg_size);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2165:13: note: in expansion of macro 'NV_KMALLOC'
2165 | NV_KMALLOC(nvlfp->attached_gpus, arg_size);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_map_guest_pages':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2805:5: note: in expansion of macro 'NV_KMALLOC'
2805 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_kernel_mapping':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3282:13: note: in expansion of macro 'NV_KMALLOC'
3282 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_post_event':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3554:9: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
3554 | NV_KMALLOC_ATOMIC(nvet, sizeof(nvidia_event_t));
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-pci.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.c:29:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-dmabuf.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c: In function 'nv_pci_probe':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:396:5: note: in expansion of macro 'NV_KZALLOC'
396 | NV_KZALLOC(nvl, sizeof(nv_linux_state_t));
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:303:5: warning: conflicting types for 'nv_encode_caching' due to enum/integer mismatch; have 'int(pgprot_t *, NvU32, nv_memory_type_t)' {aka 'int(struct pgprot *, unsigned int, nv_memory_type_t)'} [-Wenum-int-mismatch]
303 | int nv_encode_caching(
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:1761:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-proto.h:46:13: note: previous declaration of 'nv_encode_caching' with type 'int(pgprot_t *, NvU32, NvU32)' {aka 'int(struct pgprot *, unsigned int, unsigned int)'}
46 | int nv_encode_caching (pgprot_t *, NvU32, NvU32);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:371:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
371 | int static nvidia_mmap_peer_io(
| ^~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:392:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
392 | int static nvidia_mmap_sysmem(
| ^~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:370:7: warning: no previous prototype for 'os_mem_copy_custom' [-Wmissing-prototypes]
370 | void *os_mem_copy_custom(
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_mem':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:584:13: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
584 | NV_KMALLOC_ATOMIC(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:624:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
624 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:590:13: note: in expansion of macro 'NV_KMALLOC_NO_OOM'
590 | NV_KMALLOC_NO_OOM(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_queue_work_item':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1113:5: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
1113 | NV_KMALLOC_ATOMIC(oqd, sizeof(os_queue_data_t));
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_wait_queue':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1945:5: note: in expansion of macro 'NV_KMALLOC'
1945 | NV_KMALLOC(*wq, sizeof(os_wait_queue));
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci-table.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_open_file':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:276:5: note: in expansion of macro 'NV_KZALLOC'
276 | NV_KZALLOC(nvpp, sizeof(nv_procfs_private_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:698:1: warning: no previous prototype for 'exercise_error_forwarding_va' [-Wmissing-prototypes]
698 | exercise_error_forwarding_va(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:395:6: warning: no previous prototype for 'nv_init_ibmnpu_info' [-Wmissing-prototypes]
395 | void nv_init_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:399:6: warning: no previous prototype for 'nv_destroy_ibmnpu_info' [-Wmissing-prototypes]
399 | void nv_destroy_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:403:5: warning: no previous prototype for 'nv_init_ibmnpu_devices' [-Wmissing-prototypes]
403 | int nv_init_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:408:6: warning: no previous prototype for 'nv_unregister_ibmnpu_devices' [-Wmissing-prototypes]
408 | void nv_unregister_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:428:5: warning: no previous prototype for 'nv_get_ibmnpu_chip_id' [-Wmissing-prototypes]
428 | int nv_get_ibmnpu_chip_id(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:437:6: warning: no previous prototype for 'nv_ibmnpu_cache_flush_numa_region' [-Wmissing-prototypes]
437 | void nv_ibmnpu_cache_flush_numa_region(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ecc.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_rand.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_shash.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:41:5: warning: no previous prototype for 'libspdm_aead_prealloc' [-Wmissing-prototypes]
41 | int libspdm_aead_prealloc(void **context, char const *alg)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:171:5: warning: no previous prototype for 'libspdm_aead_prealloced' [-Wmissing-prototypes]
171 | int libspdm_aead_prealloced(void *context,
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead_aes_gcm.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_sha.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hmac_sha.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf_sha.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ec.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_x509.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_caps.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-msi.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msi':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:39:9: note: in expansion of macro 'NV_KZALLOC'
39 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * nvl->num_intr);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msix':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:90:5: note: in expansion of macro 'NV_KMALLOC'
90 | NV_KMALLOC(nvl->msix_entries, sizeof(struct msix_entry) * num_intr);
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:102:5: note: in expansion of macro 'NV_KZALLOC'
102 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * num_intr);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:269:5: warning: no previous prototype for 'nv_cap_procfs_init' [-Wmissing-prototypes]
269 | int nv_cap_procfs_init(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_procfs_open':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:410:5: note: in expansion of macro 'NV_KMALLOC'
410 | NV_KMALLOC(private, sizeof(nv_cap_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_alloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:614:5: note: in expansion of macro 'NV_KMALLOC'
614 | NV_KMALLOC(cap, sizeof(nv_cap_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:621:5: note: in expansion of macro 'NV_KMALLOC'
621 | NV_KMALLOC(cap->path, len);
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:633:5: note: in expansion of macro 'NV_KMALLOC'
633 | NV_KMALLOC(cap->name, len);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_init':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:738:5: note: in expansion of macro 'NV_KMALLOC'
738 | NV_KMALLOC(name, (strlen(path) + strlen(dir)) + 1);
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:52:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
52 | const static struct
| ^~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1705:1: warning: no previous prototype for 'nvswitch_init' [-Wmissing-prototypes]
1705 | nvswitch_init
| ^~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1790:1: warning: no previous prototype for 'nvswitch_exit' [-Wmissing-prototypes]
1790 | nvswitch_exit
| ^~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.c:33:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:313:12: warning: no previous prototype for 'nvlink_core_init' [-Wmissing-prototypes]
313 | int __init nvlink_core_init(void)
| ^~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:389:6: warning: no previous prototype for 'nvlink_core_exit' [-Wmissing-prototypes]
389 | void nvlink_core_exit(void)
| ^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvCpuUuid.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.c:20:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:39:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:84:6: warning: no previous prototype for 'on_nvq_assert' [-Wmissing-prototypes]
84 | void on_nvq_assert(void)
| ^~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2317:5: warning: no previous prototype for 'uvm_tools_init' [-Wmissing-prototypes]
2317 | int uvm_tools_init(dev_t uvm_base_dev)
| ^~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2378:6: warning: no previous prototype for 'uvm_tools_exit' [-Wmissing-prototypes]
2378 | void uvm_tools_exit(void)
| ^~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:1884:12: warning: no previous prototype for 'uvm_gpu_get_by_parent_and_swizz_id_locked' [-Wmissing-prototypes]
1884 | uvm_gpu_t *uvm_gpu_get_by_parent_and_swizz_id_locked(uvm_parent_gpu_t *parent_gpu, NvU32 swizz_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:510:6: warning: no previous prototype for 'tracking_semaphore_uses_mutex' [-Wmissing-prototypes]
510 | bool tracking_semaphore_uses_mutex(uvm_gpu_tracking_semaphore_t *tracking_semaphore)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:2290:11: warning: no previous prototype for 'create_static_vidmem_mapping' [-Wmissing-prototypes]
2290 | NV_STATUS create_static_vidmem_mapping(uvm_gpu_t *gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:39:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:359:21: warning: no previous prototype for 'uvm_hal_mmu_mode_maxwell' [-Wmissing-prototypes]
359 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_maxwell(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:368:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported' [-Wmissing-prototypes]
368 | void uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:373:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported' [-Wmissing-prototypes]
373 | void uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:378:23: warning: no previous prototype for 'uvm_hal_maxwell_mmu_engine_id_to_type_unsupported' [-Wmissing-prototypes]
378 | uvm_mmu_engine_type_t uvm_hal_maxwell_mmu_engine_id_to_type_unsupported(NvU16 mmu_engine_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:384:7: warning: no previous prototype for 'uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported' [-Wmissing-prototypes]
384 | NvU16 uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:36:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:364:21: warning: no previous prototype for 'uvm_hal_mmu_mode_pascal' [-Wmissing-prototypes]
364 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_pascal(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:376:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_enable_prefetch_faults' [-Wmissing-prototypes]
376 | void uvm_hal_pascal_mmu_enable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:388:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_disable_prefetch_faults' [-Wmissing-prototypes]
388 | void uvm_hal_pascal_mmu_disable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:400:7: warning: no previous prototype for 'uvm_hal_pascal_mmu_client_id_to_utlb_id' [-Wmissing-prototypes]
400 | NvU16 uvm_hal_pascal_mmu_client_id_to_utlb_id(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:329:6: warning: no previous prototype for 'uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported' [-Wmissing-prototypes]
329 | void uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported(uvm_parent_gpu_t *parent_gpu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c: At top level:
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:30:6: warning: no previous prototype for 'uvm_hal_hopper_fault_buffer_get_ve_id' [-Wmissing-prototypes]
30 | NvU8 uvm_hal_hopper_fault_buffer_get_ve_id(NvU16 mmu_engine_id, uvm_mmu_engine_type_t mmu_engine_type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.c:34:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.c:35:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.c:162:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:56:11: warning: no previous prototype for 'uvm_handle_fault' [-Wmissing-prototypes]
56 | NV_STATUS uvm_handle_fault(struct vm_area_struct *vma, unsigned long start, unsigned long vma_num_pages, bool write)
| ^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c: In function 'uvm_pte_buffer_init':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:104:42: warning: implicit conversion from 'UvmGpuCachingType' to 'UvmRmGpuCachingType' [-Wenum-conversion]
104 | pte_buffer->mapping_info.cachingType = map_rm_params->caching_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:105:42: warning: implicit conversion from 'UvmGpuMappingType' to 'UvmRmGpuMappingType' [-Wenum-conversion]
105 | pte_buffer->mapping_info.mappingType = map_rm_params->mapping_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:106:41: warning: implicit conversion from 'UvmGpuFormatType' to 'UvmRmGpuFormatType' [-Wenum-conversion]
106 | pte_buffer->mapping_info.formatType = map_rm_params->format_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:107:42: warning: implicit conversion from 'UvmGpuFormatElementBits' to 'UvmRmGpuFormatElementBits' [-Wenum-conversion]
107 | pte_buffer->mapping_info.elementBits = map_rm_params->element_bits;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:108:46: warning: implicit conversion from 'UvmGpuCompressionType' to 'UvmRmGpuCompressionType' [-Wenum-conversion]
108 | pte_buffer->mapping_info.compressionType = map_rm_params->compression_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:510:6: warning: no previous prototype for 'migrate_vma_cleanup_pages' [-Wmissing-prototypes]
510 | void migrate_vma_cleanup_pages(unsigned long *dst, unsigned long npages)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:556:6: warning: no previous prototype for 'uvm_migrate_vma_alloc_and_copy_helper' [-Wmissing-prototypes]
556 | void uvm_migrate_vma_alloc_and_copy_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:645:6: warning: no previous prototype for 'uvm_migrate_vma_finalize_and_map_helper' [-Wmissing-prototypes]
645 | void uvm_migrate_vma_finalize_and_map_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:1514:8: warning: no previous prototype for 'get_page_sizes' [-Wmissing-prototypes]
1514 | size_t get_page_sizes(uvm_gpu_t *gpu, NvU32 *page_sizes)
| ^~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:687:11: warning: no previous prototype for 'test_conf_computing_channel_selection' [-Wmissing-prototypes]
687 | NV_STATUS test_conf_computing_channel_selection(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:749:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_noop' [-Wmissing-prototypes]
749 | NV_STATUS test_write_ctrl_gpfifo_noop(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:788:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_and_pushes' [-Wmissing-prototypes]
788 | NV_STATUS test_write_ctrl_gpfifo_and_pushes(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:836:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_tight' [-Wmissing-prototypes]
836 | NV_STATUS test_write_ctrl_gpfifo_tight(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:909:11: warning: no previous prototype for '__test_pmm_async_alloc_type' [-Wmissing-prototypes]
909 | NV_STATUS __test_pmm_async_alloc_type(uvm_va_space_t *va_space,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1070:11: warning: no previous prototype for 'do_test_cpu_chunk_free' [-Wmissing-prototypes]
1070 | NV_STATUS do_test_cpu_chunk_free(uvm_cpu_chunk_t *chunk, uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1166:11: warning: no previous prototype for 'test_cpu_chunk_free' [-Wmissing-prototypes]
1166 | NV_STATUS test_cpu_chunk_free(uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1080:24: warning: no previous prototype for 'nvkms_open_common' [-Wmissing-prototypes]
1080 | struct nvkms_per_open *nvkms_open_common(enum NvKmsClientType type,
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1132:6: warning: no previous prototype for 'nvkms_close_pm_locked' [-Wmissing-prototypes]
1132 | void nvkms_close_pm_locked(struct nvkms_per_open *popen)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1195:5: warning: no previous prototype for 'nvkms_ioctl_common' [-Wmissing-prototypes]
1195 | int nvkms_ioctl_common
| ^~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-drv.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-connector.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-modeset.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-linux.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nv-pci-table.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of 'int (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Wincompatible-pointer-types]
115 | .vmap = nv_drm_gem_prime_vmap,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for 'nv_drm_gem_funcs.vmap')
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of 'void (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Wincompatible-pointer-types]
116 | .vunmap = nv_drm_gem_prime_vunmap,
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for 'nv_drm_gem_funcs.vunmap')
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-format.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem/nvidia-peermem.o
ld -r -o /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
LD [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm.o
LD [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rax+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbx+0x0: indirect jump found in MITIGATION_RETPOLINE build
LD [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem.o
make[3]: Target '/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.5-arch1-1/build/Makefile:1934: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.5-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.5-arch1-1/build" SYSOUT="/lib/modules/6.10.5-arch1-1/build" ` failed with the following output:
make[1]: Entering directory '/usr/lib/modules/6.10.5-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
SYMLINK /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: ioremap_driver_hardened
CONFTEST: ioremap_driver_hardened_wc
CONFTEST: ioremap_cache_shared
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: pde_data
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_attr_macros
CONFTEST: dma_map_page_attrs
CONFTEST: write_cr4
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_rebar_get_possible_sizes
CONFTEST: wait_for_random_bytes
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write_has_pointer_pos_arg
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: tegra_bpmp_send_receive
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: cc_platform_has
CONFTEST: seq_read_iter
CONFTEST: unsafe_follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: add_memory_driver_managed
CONFTEST: device_property_read_u64
CONFTEST: devm_of_platform_populate
CONFTEST: of_dma_configure
CONFTEST: of_property_count_elems_of_size
CONFTEST: of_property_read_variable_u8_array
CONFTEST: of_property_read_variable_u32_array
CONFTEST: i2c_new_client_device
CONFTEST: i2c_unregister_device
CONFTEST: of_get_named_gpio
CONFTEST: devm_gpio_request_one
CONFTEST: gpio_direction_input
CONFTEST: gpio_direction_output
CONFTEST: gpio_get_value
CONFTEST: gpio_set_value
CONFTEST: gpio_to_irq
CONFTEST: icc_get
CONFTEST: icc_put
CONFTEST: icc_set_bw
CONFTEST: dma_buf_export_args
CONFTEST: dma_buf_ops_has_kmap
CONFTEST: dma_buf_ops_has_kmap_atomic
CONFTEST: dma_buf_ops_has_map
CONFTEST: dma_buf_ops_has_map_atomic
CONFTEST: dma_buf_has_dynamic_attachment
CONFTEST: dma_buf_attachment_has_peer2peer
CONFTEST: dma_set_mask_and_coherent
CONFTEST: devm_clk_bulk_get_all
CONFTEST: get_task_ioprio
CONFTEST: mdev_set_iommu_device
CONFTEST: offline_and_remove_memory
CONFTEST: crypto_tfm_ctx_aligned
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: ioasid_get
CONFTEST: mm_pasid_drop
CONFTEST: mmget_not_zero
CONFTEST: mmgrab
CONFTEST: iommu_sva_bind_device_has_drvdata_arg
CONFTEST: vm_fault_to_errno
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: pin_user_pages_remote
CONFTEST: pin_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_connector_has_vrr_capable_property
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: nvhost_dma_fence_unpack
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_present_pxm_to_node
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_i2c_bus_status
CONFTEST: is_export_symbol_present_tegra_fuse_control_read
CONFTEST: is_export_symbol_present_pci_find_host_bridge
CONFTEST: is_export_symbol_present_tegra_get_platform
CONFTEST: is_export_symbol_present_tsec_comms_send_cmd
CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco
CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem
CONFTEST: is_export_symbol_present_memory_block_size_bytes
CONFTEST: crypto
CONFTEST: is_export_symbol_present_int_active_memcg
CONFTEST: is_export_symbol_present_migrate_vma_setup
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: remove_memory_has_nid_arg
CONFTEST: pci_dev_has_ats_enabled
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
CONFTEST: num_registered_fb
CONFTEST: pci_driver_has_driver_managed_dma
CONFTEST: vm_area_struct_has_const_vm_flags
CONFTEST: memory_failure_has_trapno_arg
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: mmu_notifier_ops_arch_invalidate_secondary_tlbs
CONFTEST: migrate_vma_added_flags
CONFTEST: migrate_device_range
CONFTEST: handle_mm_fault_has_mm_arg
CONFTEST: handle_mm_fault_has_pt_regs_arg
CONFTEST: mempolicy_has_unified_nodes
CONFTEST: mempolicy_has_home_node
CONFTEST: mpol_preferred_many_present
CONFTEST: mmu_interval_notifier
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_crtc_state_has_vrr_enabled
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_crtc_state_has_no_vblank
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: drm_has_hdr_output_metadata
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_master_has_leases
CONFTEST: drm_file_get_master
CONFTEST: drm_modeset_lock_all_end
CONFTEST: drm_connector_lookup
CONFTEST: drm_connector_put
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: vfio_pci_core_available
CONFTEST: mdev_available
CONFTEST: cmd_uphy_display_port_init
CONFTEST: cmd_uphy_display_port_off
CONFTEST: memory_failure_mf_sw_simulated_defined
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:31:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c: In function 'nv_alloc_nano_timer':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:86:5: note: in expansion of macro 'NV_KMALLOC'
86 | NV_KMALLOC(nv_nstimer, sizeof(nv_nano_timer_t));
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:34:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:293:6: warning: no previous prototype for 'nv_load_dma_map_scatterlist' [-Wmissing-prototypes]
293 | void nv_load_dma_map_scatterlist(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:489:23: warning: no previous prototype for 'nv_dma_unmap_sgt' [-Wmissing-prototypes]
489 | NV_STATUS NV_API_CALL nv_dma_unmap_sgt(
| ^~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvos_create_alloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:262:5: note: in expansion of macro 'NV_KZALLOC'
262 | NV_KZALLOC(at, sizeof(nv_alloc_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:735:12: warning: no previous prototype for 'nvidia_init_module' [-Wmissing-prototypes]
735 | int __init nvidia_init_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:855:6: warning: no previous prototype for 'nvidia_exit_module' [-Wmissing-prototypes]
855 | void nvidia_exit_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_file_private':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:879:5: note: in expansion of macro 'NV_KZALLOC'
879 | NV_KZALLOC(nvlfp, sizeof(nv_linux_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:1124:23: warning: no previous prototype for 'nv_get_num_dpaux_instances' [-Wmissing-prototypes]
1124 | NV_STATUS NV_API_CALL nv_get_num_dpaux_instances(nv_state_t *nv, NvU32 *num_instances)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvidia_ioctl':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2104:5: note: in expansion of macro 'NV_KMALLOC'
2104 | NV_KMALLOC(arg_copy, arg_size);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2165:13: note: in expansion of macro 'NV_KMALLOC'
2165 | NV_KMALLOC(nvlfp->attached_gpus, arg_size);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_map_guest_pages':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2805:5: note: in expansion of macro 'NV_KMALLOC'
2805 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_kernel_mapping':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3282:13: note: in expansion of macro 'NV_KMALLOC'
3282 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_post_event':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3554:9: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
3554 | NV_KMALLOC_ATOMIC(nvet, sizeof(nvidia_event_t));
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-pci.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.c:29:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-dmabuf.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c: In function 'nv_pci_probe':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:396:5: note: in expansion of macro 'NV_KZALLOC'
396 | NV_KZALLOC(nvl, sizeof(nv_linux_state_t));
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:303:5: warning: conflicting types for 'nv_encode_caching' due to enum/integer mismatch; have 'int(pgprot_t *, NvU32, nv_memory_type_t)' {aka 'int(struct pgprot *, unsigned int, nv_memory_type_t)'} [-Wenum-int-mismatch]
303 | int nv_encode_caching(
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:1761:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-proto.h:46:13: note: previous declaration of 'nv_encode_caching' with type 'int(pgprot_t *, NvU32, NvU32)' {aka 'int(struct pgprot *, unsigned int, unsigned int)'}
46 | int nv_encode_caching (pgprot_t *, NvU32, NvU32);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:371:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
371 | int static nvidia_mmap_peer_io(
| ^~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:392:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
392 | int static nvidia_mmap_sysmem(
| ^~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:370:7: warning: no previous prototype for 'os_mem_copy_custom' [-Wmissing-prototypes]
370 | void *os_mem_copy_custom(
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_mem':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:584:13: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
584 | NV_KMALLOC_ATOMIC(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:624:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
624 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:590:13: note: in expansion of macro 'NV_KMALLOC_NO_OOM'
590 | NV_KMALLOC_NO_OOM(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_queue_work_item':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1113:5: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
1113 | NV_KMALLOC_ATOMIC(oqd, sizeof(os_queue_data_t));
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_wait_queue':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1945:5: note: in expansion of macro 'NV_KMALLOC'
1945 | NV_KMALLOC(*wq, sizeof(os_wait_queue));
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci-table.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_open_file':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:276:5: note: in expansion of macro 'NV_KZALLOC'
276 | NV_KZALLOC(nvpp, sizeof(nv_procfs_private_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:698:1: warning: no previous prototype for 'exercise_error_forwarding_va' [-Wmissing-prototypes]
698 | exercise_error_forwarding_va(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:395:6: warning: no previous prototype for 'nv_init_ibmnpu_info' [-Wmissing-prototypes]
395 | void nv_init_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:399:6: warning: no previous prototype for 'nv_destroy_ibmnpu_info' [-Wmissing-prototypes]
399 | void nv_destroy_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:403:5: warning: no previous prototype for 'nv_init_ibmnpu_devices' [-Wmissing-prototypes]
403 | int nv_init_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:408:6: warning: no previous prototype for 'nv_unregister_ibmnpu_devices' [-Wmissing-prototypes]
408 | void nv_unregister_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:428:5: warning: no previous prototype for 'nv_get_ibmnpu_chip_id' [-Wmissing-prototypes]
428 | int nv_get_ibmnpu_chip_id(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:437:6: warning: no previous prototype for 'nv_ibmnpu_cache_flush_numa_region' [-Wmissing-prototypes]
437 | void nv_ibmnpu_cache_flush_numa_region(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ecc.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_rand.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_shash.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:41:5: warning: no previous prototype for 'libspdm_aead_prealloc' [-Wmissing-prototypes]
41 | int libspdm_aead_prealloc(void **context, char const *alg)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:171:5: warning: no previous prototype for 'libspdm_aead_prealloced' [-Wmissing-prototypes]
171 | int libspdm_aead_prealloced(void *context,
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead_aes_gcm.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_sha.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hmac_sha.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf_sha.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ec.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_x509.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_caps.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-msi.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msi':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:39:9: note: in expansion of macro 'NV_KZALLOC'
39 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * nvl->num_intr);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msix':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:90:5: note: in expansion of macro 'NV_KMALLOC'
90 | NV_KMALLOC(nvl->msix_entries, sizeof(struct msix_entry) * num_intr);
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:102:5: note: in expansion of macro 'NV_KZALLOC'
102 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * num_intr);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:269:5: warning: no previous prototype for 'nv_cap_procfs_init' [-Wmissing-prototypes]
269 | int nv_cap_procfs_init(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_procfs_open':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:410:5: note: in expansion of macro 'NV_KMALLOC'
410 | NV_KMALLOC(private, sizeof(nv_cap_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_alloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:614:5: note: in expansion of macro 'NV_KMALLOC'
614 | NV_KMALLOC(cap, sizeof(nv_cap_t));
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:621:5: note: in expansion of macro 'NV_KMALLOC'
621 | NV_KMALLOC(cap->path, len);
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:633:5: note: in expansion of macro 'NV_KMALLOC'
633 | NV_KMALLOC(cap->name, len);
| ^~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_init':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:738:5: note: in expansion of macro 'NV_KMALLOC'
738 | NV_KMALLOC(name, (strlen(path) + strlen(dir)) + 1);
| ^~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:52:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
52 | const static struct
| ^~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1705:1: warning: no previous prototype for 'nvswitch_init' [-Wmissing-prototypes]
1705 | nvswitch_init
| ^~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1790:1: warning: no previous prototype for 'nvswitch_exit' [-Wmissing-prototypes]
1790 | nvswitch_exit
| ^~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.c:33:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:313:12: warning: no previous prototype for 'nvlink_core_init' [-Wmissing-prototypes]
313 | int __init nvlink_core_init(void)
| ^~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:389:6: warning: no previous prototype for 'nvlink_core_exit' [-Wmissing-prototypes]
389 | void nvlink_core_exit(void)
| ^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvCpuUuid.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.c:20:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:39:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:84:6: warning: no previous prototype for 'on_nvq_assert' [-Wmissing-prototypes]
84 | void on_nvq_assert(void)
| ^~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2317:5: warning: no previous prototype for 'uvm_tools_init' [-Wmissing-prototypes]
2317 | int uvm_tools_init(dev_t uvm_base_dev)
| ^~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2378:6: warning: no previous prototype for 'uvm_tools_exit' [-Wmissing-prototypes]
2378 | void uvm_tools_exit(void)
| ^~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:1884:12: warning: no previous prototype for 'uvm_gpu_get_by_parent_and_swizz_id_locked' [-Wmissing-prototypes]
1884 | uvm_gpu_t *uvm_gpu_get_by_parent_and_swizz_id_locked(uvm_parent_gpu_t *parent_gpu, NvU32 swizz_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:510:6: warning: no previous prototype for 'tracking_semaphore_uses_mutex' [-Wmissing-prototypes]
510 | bool tracking_semaphore_uses_mutex(uvm_gpu_tracking_semaphore_t *tracking_semaphore)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:2290:11: warning: no previous prototype for 'create_static_vidmem_mapping' [-Wmissing-prototypes]
2290 | NV_STATUS create_static_vidmem_mapping(uvm_gpu_t *gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:39:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:359:21: warning: no previous prototype for 'uvm_hal_mmu_mode_maxwell' [-Wmissing-prototypes]
359 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_maxwell(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:368:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported' [-Wmissing-prototypes]
368 | void uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:373:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported' [-Wmissing-prototypes]
373 | void uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:378:23: warning: no previous prototype for 'uvm_hal_maxwell_mmu_engine_id_to_type_unsupported' [-Wmissing-prototypes]
378 | uvm_mmu_engine_type_t uvm_hal_maxwell_mmu_engine_id_to_type_unsupported(NvU16 mmu_engine_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:384:7: warning: no previous prototype for 'uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported' [-Wmissing-prototypes]
384 | NvU16 uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:36:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:364:21: warning: no previous prototype for 'uvm_hal_mmu_mode_pascal' [-Wmissing-prototypes]
364 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_pascal(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:376:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_enable_prefetch_faults' [-Wmissing-prototypes]
376 | void uvm_hal_pascal_mmu_enable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:388:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_disable_prefetch_faults' [-Wmissing-prototypes]
388 | void uvm_hal_pascal_mmu_disable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:400:7: warning: no previous prototype for 'uvm_hal_pascal_mmu_client_id_to_utlb_id' [-Wmissing-prototypes]
400 | NvU16 uvm_hal_pascal_mmu_client_id_to_utlb_id(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:329:6: warning: no previous prototype for 'uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported' [-Wmissing-prototypes]
329 | void uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported(uvm_parent_gpu_t *parent_gpu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c: At top level:
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:30:6: warning: no previous prototype for 'uvm_hal_hopper_fault_buffer_get_ve_id' [-Wmissing-prototypes]
30 | NvU8 uvm_hal_hopper_fault_buffer_get_ve_id(NvU16 mmu_engine_id, uvm_mmu_engine_type_t mmu_engine_type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.c:34:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.c:35:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.c:162:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:56:11: warning: no previous prototype for 'uvm_handle_fault' [-Wmissing-prototypes]
56 | NV_STATUS uvm_handle_fault(struct vm_area_struct *vma, unsigned long start, unsigned long vma_num_pages, bool write)
| ^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c: In function 'uvm_pte_buffer_init':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:104:42: warning: implicit conversion from 'UvmGpuCachingType' to 'UvmRmGpuCachingType' [-Wenum-conversion]
104 | pte_buffer->mapping_info.cachingType = map_rm_params->caching_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:105:42: warning: implicit conversion from 'UvmGpuMappingType' to 'UvmRmGpuMappingType' [-Wenum-conversion]
105 | pte_buffer->mapping_info.mappingType = map_rm_params->mapping_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:106:41: warning: implicit conversion from 'UvmGpuFormatType' to 'UvmRmGpuFormatType' [-Wenum-conversion]
106 | pte_buffer->mapping_info.formatType = map_rm_params->format_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:107:42: warning: implicit conversion from 'UvmGpuFormatElementBits' to 'UvmRmGpuFormatElementBits' [-Wenum-conversion]
107 | pte_buffer->mapping_info.elementBits = map_rm_params->element_bits;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:108:46: warning: implicit conversion from 'UvmGpuCompressionType' to 'UvmRmGpuCompressionType' [-Wenum-conversion]
108 | pte_buffer->mapping_info.compressionType = map_rm_params->compression_type;
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:510:6: warning: no previous prototype for 'migrate_vma_cleanup_pages' [-Wmissing-prototypes]
510 | void migrate_vma_cleanup_pages(unsigned long *dst, unsigned long npages)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:556:6: warning: no previous prototype for 'uvm_migrate_vma_alloc_and_copy_helper' [-Wmissing-prototypes]
556 | void uvm_migrate_vma_alloc_and_copy_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:645:6: warning: no previous prototype for 'uvm_migrate_vma_finalize_and_map_helper' [-Wmissing-prototypes]
645 | void uvm_migrate_vma_finalize_and_map_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_types.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.c:25:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.c:26:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:1514:8: warning: no previous prototype for 'get_page_sizes' [-Wmissing-prototypes]
1514 | size_t get_page_sizes(uvm_gpu_t *gpu, NvU32 *page_sizes)
| ^~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:687:11: warning: no previous prototype for 'test_conf_computing_channel_selection' [-Wmissing-prototypes]
687 | NV_STATUS test_conf_computing_channel_selection(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:749:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_noop' [-Wmissing-prototypes]
749 | NV_STATUS test_write_ctrl_gpfifo_noop(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:788:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_and_pushes' [-Wmissing-prototypes]
788 | NV_STATUS test_write_ctrl_gpfifo_and_pushes(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:836:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_tight' [-Wmissing-prototypes]
836 | NV_STATUS test_write_ctrl_gpfifo_tight(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:909:11: warning: no previous prototype for '__test_pmm_async_alloc_type' [-Wmissing-prototypes]
909 | NV_STATUS __test_pmm_async_alloc_type(uvm_va_space_t *va_space,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c: At top level:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1070:11: warning: no previous prototype for 'do_test_cpu_chunk_free' [-Wmissing-prototypes]
1070 | NV_STATUS do_test_cpu_chunk_free(uvm_cpu_chunk_t *chunk, uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1166:11: warning: no previous prototype for 'test_cpu_chunk_free' [-Wmissing-prototypes]
1166 | NV_STATUS test_cpu_chunk_free(uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.c:23:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.c:24:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1080:24: warning: no previous prototype for 'nvkms_open_common' [-Wmissing-prototypes]
1080 | struct nvkms_per_open *nvkms_open_common(enum NvKmsClientType type,
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1132:6: warning: no previous prototype for 'nvkms_close_pm_locked' [-Wmissing-prototypes]
1132 | void nvkms_close_pm_locked(struct nvkms_per_open *popen)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1195:5: warning: no previous prototype for 'nvkms_ioctl_common' [-Wmissing-prototypes]
1195 | int nvkms_ioctl_common
| ^~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-drv.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-connector.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-modeset.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-linux.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nv-pci-table.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of 'int (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Wincompatible-pointer-types]
115 | .vmap = nv_drm_gem_prime_vmap,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for 'nv_drm_gem_funcs.vmap')
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of 'void (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Wincompatible-pointer-types]
116 | .vunmap = nv_drm_gem_prime_vunmap,
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for 'nv_drm_gem_funcs.vunmap')
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-format.o
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem/nvidia-peermem.o
ld -r -o /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
LD [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm.o
LD [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rax+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rcx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rdx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rsi+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rdi+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbp+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r8+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r9+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r10+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r11+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r12+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r13+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r14+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r15+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000674kms+0x46: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000675kms+0x46: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000096kms+0x9: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000097kms+0xe: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000107kms+0xa8: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000355kms+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000649kms+0x58: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000357kms+0x11: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000759kms+0x4a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000351kms+0x3f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000673kms+0x68: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000726kms+0x4f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000539kms+0x8f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000526kms+0x10: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000383kms+0x41: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000384kms+0x8c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000010kms+0x44: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000743kms+0x68: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000667kms+0x85: 'naked' return found in MITIGATION_RETHUNK build
LD [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem.o
make[3]: Target '/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.5-arch1-1/build/Makefile:1934: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.5-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
-> Checking to see whether the nvidia kernel module was successfully built
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.5-arch1-1/build" SYSOUT="/lib/modules/6.10.5-arch1-1/build" NV_KERNEL_MODULES="nvidia"'...
make[1]: Entering directory '/usr/lib/modules/6.10.5-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
make[3]: Target '/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.5-arch1-1/build/Makefile:1934: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.5-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.5-arch1-1/build" SYSOUT="/lib/modules/6.10.5-arch1-1/build" NV_KERNEL_MODULES="nvidia"` failed with the following output:
make[1]: Entering directory '/usr/lib/modules/6.10.5-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
CC [M] /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
In file included from /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
make[3]: Target '/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.5-arch1-1/build/Makefile:1934: /tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.5-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Offline
Here are the logs i had to cut out some of the repeating lines to fit size limit. I made sure headers were installed and again it got to 98% and failed to build kernel modules.
Offline
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of 'int (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Wincompatible-pointer-types]
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of 'void (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Wincompatible-pointer-types]
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of 'int (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Wincompatible-pointer-types]
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of 'void (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Wincompatible-pointer-types]
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
/tmp/selfgz1253/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Pass "-Wimplicit-function-declaration -Wincompatible-pointer-types" to the C and CXX flags, but nvidia has fixed that in later 535xx release, you're still gonna need a patch for the 6.10 kernels.
Why exactly aren't you using https://aur.archlinux.org/packages/nvidia-535xx-dkms ?
Offline
How do i do this? and i have to use these drivers because they support the nvidia grid gpus. Im not using a consumer card im using the quadro p4000 to enable vgpu and use a single gpu across multiple systems.
Offline
Do what? Install an AUR package?
What makes you believe the 535.183.01 drivers don't support your GPUs if the 535.161.07 do?
Have you actually tried the dkms driver in the AUR?
Offline
yes it does not work. The project i use for vgpu requires the driver to mach the driver on my proxmox host. this is the only way the vgpu will work. Im asking how to patch kernel so i can use this driver.
Last edited by awptechnologies (2024-08-20 15:06:13)
Offline
You're not patching the kernel, you're patching the driver.
Extract the sources, apply the patch w/ "patch" and edit the makefile to adjust the CFLAGS and CXXFLAGS - not sure whether the patch from the 535xx AUR will apply to the slightly older driver you're using.
Alternatively use the LTS kernel, you'll still have to change the C/XXFLAGS, those are related to the compiler, not the kernel.
Offline
I see you know what i need to do and i'm reading your words but i'm not experienced enough to do that. is there any way you can point me in the right direction to learn?
Offline
i tried the lts kernel also but i didnt change any C/XXFLAGS since i have never heard of this.
Offline
Try to
export CFLAGS="-Wimplicit-function-declaration -Wincompatible-pointer-types"
before running the installer script, I've googled up an nvidia makefile (no guarantee that this is still the one inside the archive, I'd have to extract that myself as well) and it seems to only extend the variable, so should preserve anything that's set before.
Running the installer "--help" should from memory also get you a bunch of options you can apply?
Otherwise:
So far i have found that running the driver install with -e and not installing the drm module it will finish install
As mentioned, -e extracts the driver archive. You should now have a bunch of files in the directory w/ the .run executable? One of them is the Makefile, it'll set a bunch of variables before kicking of the compiler, this is what you'd edit.
Offline
Just some extra info so you know why i have to use this driver. I use a custom script called proxmox-vgpu-installer on github. It allows you to use any supported cards for vgpu. It uses something called mdevs to assign a single gpu to multiple vms. I will extract the driver and look at makefile. When i do what do i need to add?
Should i just try the export first?
Offline
also this is the link to driver supplied by script. https://storage.googleapis.com/nvidia-d … 7-grid.run
Offline
When using that export before driver install it still doesn't work.
Offline
Doesn't work in "I get the exact same errors suggesting those flags" or "fails in a totally different way"?
"-e" is actually the "expert" mode, "-x" extracts the driver.
Try to
export EXTRA_CFLAGS="-Wimplicit-function-declaration -Wincompatible-pointer-types"
Offline
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 20 20:20:03 2024
installer version: 535.161.07
PATH: /usr/local/sbin:/usr/local/bin:/usr/bin
nvidia-installer command line:
./nvidia-installer
Unable to load: nvidia-installer ncurses v6 user interface
Unable to load: nvidia-installer ncurses user interface
Using: nvidia-installer ncurses v6 user interface (widechar)
-> Detected 8 CPUs online; setting concurrency level to 8.
-> Installing NVIDIA driver version 535.161.07.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Performing CC check.
-> Kernel source path: '/lib/modules/6.10.6-arch1-1/build'
-> Kernel output path: '/lib/modules/6.10.6-arch1-1/build'
-> Performing Compiler check.
-> Performing Dom0 check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Performing vgpu_kvm check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.6-arch1-1/build" SYSOUT="/lib/modules/6.10.6-arch1-1/build" clean'...
rm -f -r conftest
make[1]: Entering directory '/usr/lib/modules/6.10.6-arch1-1/build'
make[1]: Leaving directory '/usr/lib/modules/6.10.6-arch1-1/build'
-> Building kernel modules
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.6-arch1-1/build" SYSOUT="/lib/modules/6.10.6-arch1-1/build" '...
make[1]: Entering directory '/usr/lib/modules/6.10.6-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
SYMLINK /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_array_uc
CONFTEST: set_memory_uc
CONFTEST: set_pages_array_uc
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: ioremap_driver_hardened
CONFTEST: ioremap_driver_hardened_wc
CONFTEST: ioremap_cache_shared
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: pde_data
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_attr_macros
CONFTEST: dma_map_page_attrs
CONFTEST: write_cr4
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_rebar_get_possible_sizes
CONFTEST: wait_for_random_bytes
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write_has_pointer_pos_arg
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: tegra_bpmp_send_receive
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: cc_platform_has
CONFTEST: seq_read_iter
CONFTEST: unsafe_follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: add_memory_driver_managed
CONFTEST: device_property_read_u64
CONFTEST: devm_of_platform_populate
CONFTEST: of_dma_configure
CONFTEST: of_property_count_elems_of_size
CONFTEST: of_property_read_variable_u8_array
CONFTEST: of_property_read_variable_u32_array
CONFTEST: i2c_new_client_device
CONFTEST: i2c_unregister_device
CONFTEST: of_get_named_gpio
CONFTEST: devm_gpio_request_one
CONFTEST: gpio_direction_input
CONFTEST: gpio_direction_output
CONFTEST: gpio_get_value
CONFTEST: gpio_set_value
CONFTEST: gpio_to_irq
CONFTEST: icc_get
CONFTEST: icc_put
CONFTEST: icc_set_bw
CONFTEST: dma_buf_export_args
CONFTEST: dma_buf_ops_has_kmap
CONFTEST: dma_buf_ops_has_kmap_atomic
CONFTEST: dma_buf_ops_has_map
CONFTEST: dma_buf_ops_has_map_atomic
CONFTEST: dma_buf_has_dynamic_attachment
CONFTEST: dma_buf_attachment_has_peer2peer
CONFTEST: dma_set_mask_and_coherent
CONFTEST: devm_clk_bulk_get_all
CONFTEST: get_task_ioprio
CONFTEST: mdev_set_iommu_device
CONFTEST: crypto_tfm_ctx_aligned
CONFTEST: offline_and_remove_memory
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: ioasid_get
CONFTEST: mm_pasid_drop
CONFTEST: mmget_not_zero
CONFTEST: mmgrab
CONFTEST: iommu_sva_bind_device_has_drvdata_arg
CONFTEST: vm_fault_to_errno
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: pin_user_pages_remote
CONFTEST: pin_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_connector_has_vrr_capable_property
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: nvhost_dma_fence_unpack
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_present_pxm_to_node
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_i2c_bus_status
CONFTEST: is_export_symbol_present_tegra_fuse_control_read
CONFTEST: is_export_symbol_present_tegra_get_platform
CONFTEST: is_export_symbol_present_pci_find_host_bridge
CONFTEST: is_export_symbol_present_tsec_comms_send_cmd
CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco
CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem
CONFTEST: is_export_symbol_present_memory_block_size_bytes
CONFTEST: crypto
CONFTEST: is_export_symbol_present_int_active_memcg
CONFTEST: is_export_symbol_present_migrate_vma_setup
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: pci_dev_has_ats_enabled
CONFTEST: remove_memory_has_nid_arg
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
CONFTEST: num_registered_fb
CONFTEST: pci_driver_has_driver_managed_dma
CONFTEST: vm_area_struct_has_const_vm_flags
CONFTEST: memory_failure_has_trapno_arg
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: mmu_notifier_ops_arch_invalidate_secondary_tlbs
CONFTEST: migrate_vma_added_flags
CONFTEST: migrate_device_range
CONFTEST: handle_mm_fault_has_mm_arg
CONFTEST: handle_mm_fault_has_pt_regs_arg
CONFTEST: mempolicy_has_unified_nodes
CONFTEST: mempolicy_has_home_node
CONFTEST: mpol_preferred_many_present
CONFTEST: mmu_interval_notifier
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_crtc_state_has_vrr_enabled
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_crtc_state_has_no_vblank
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: drm_has_hdr_output_metadata
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_master_has_leases
CONFTEST: drm_file_get_master
CONFTEST: drm_modeset_lock_all_end
CONFTEST: drm_connector_lookup
CONFTEST: drm_connector_put
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: vfio_pci_core_available
CONFTEST: mdev_available
CONFTEST: cmd_uphy_display_port_init
CONFTEST: cmd_uphy_display_port_off
CONFTEST: memory_failure_mf_sw_simulated_defined
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-dmabuf.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-pci.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:293:6: warning: no previous prototype for 'nv_load_dma_map_scatterlist' [-Wmissing-prototypes]
293 | void nv_load_dma_map_scatterlist(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:489:23: warning: no previous prototype for 'nv_dma_unmap_sgt' [-Wmissing-prototypes]
489 | NV_STATUS NV_API_CALL nv_dma_unmap_sgt(
| ^~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c: In function 'nv_pci_probe':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:396:5: note: in expansion of macro 'NV_KZALLOC'
396 | NV_KZALLOC(nvl, sizeof(nv_linux_state_t));
| ^~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.c:29:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:31:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c: In function 'nv_alloc_nano_timer':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:86:5: note: in expansion of macro 'NV_KMALLOC'
86 | NV_KMALLOC(nv_nstimer, sizeof(nv_nano_timer_t));
| ^~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:34:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvos_create_alloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:262:5: note: in expansion of macro 'NV_KZALLOC'
262 | NV_KZALLOC(at, sizeof(nv_alloc_t));
| ^~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:735:12: warning: no previous prototype for 'nvidia_init_module' [-Wmissing-prototypes]
735 | int __init nvidia_init_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:855:6: warning: no previous prototype for 'nvidia_exit_module' [-Wmissing-prototypes]
855 | void nvidia_exit_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_file_private':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:879:5: note: in expansion of macro 'NV_KZALLOC'
879 | NV_KZALLOC(nvlfp, sizeof(nv_linux_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:1124:23: warning: no previous prototype for 'nv_get_num_dpaux_instances' [-Wmissing-prototypes]
1124 | NV_STATUS NV_API_CALL nv_get_num_dpaux_instances(nv_state_t *nv, NvU32 *num_instances)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvidia_ioctl':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2104:5: note: in expansion of macro 'NV_KMALLOC'
2104 | NV_KMALLOC(arg_copy, arg_size);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2165:13: note: in expansion of macro 'NV_KMALLOC'
2165 | NV_KMALLOC(nvlfp->attached_gpus, arg_size);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_map_guest_pages':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2805:5: note: in expansion of macro 'NV_KMALLOC'
2805 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_kernel_mapping':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3282:13: note: in expansion of macro 'NV_KMALLOC'
3282 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_post_event':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3554:9: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
3554 | NV_KMALLOC_ATOMIC(nvet, sizeof(nvidia_event_t));
| ^~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:303:5: warning: conflicting types for 'nv_encode_caching' due to enum/integer mismatch; have 'int(pgprot_t *, NvU32, nv_memory_type_t)' {aka 'int(struct pgprot *, unsigned int, nv_memory_type_t)'} [-Wenum-int-mismatch]
303 | int nv_encode_caching(
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:1761:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-proto.h:46:13: note: previous declaration of 'nv_encode_caching' with type 'int(pgprot_t *, NvU32, NvU32)' {aka 'int(struct pgprot *, unsigned int, unsigned int)'}
46 | int nv_encode_caching (pgprot_t *, NvU32, NvU32);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:371:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
371 | int static nvidia_mmap_peer_io(
| ^~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:392:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
392 | int static nvidia_mmap_sysmem(
| ^~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_open_file':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:276:5: note: in expansion of macro 'NV_KZALLOC'
276 | NV_KZALLOC(nvpp, sizeof(nv_procfs_private_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:698:1: warning: no previous prototype for 'exercise_error_forwarding_va' [-Wmissing-prototypes]
698 | exercise_error_forwarding_va(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:370:7: warning: no previous prototype for 'os_mem_copy_custom' [-Wmissing-prototypes]
370 | void *os_mem_copy_custom(
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_mem':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:584:13: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
584 | NV_KMALLOC_ATOMIC(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:624:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
624 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:590:13: note: in expansion of macro 'NV_KMALLOC_NO_OOM'
590 | NV_KMALLOC_NO_OOM(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_queue_work_item':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1113:5: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
1113 | NV_KMALLOC_ATOMIC(oqd, sizeof(os_queue_data_t));
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_wait_queue':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1945:5: note: in expansion of macro 'NV_KMALLOC'
1945 | NV_KMALLOC(*wq, sizeof(os_wait_queue));
| ^~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci-table.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:395:6: warning: no previous prototype for 'nv_init_ibmnpu_info' [-Wmissing-prototypes]
395 | void nv_init_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:399:6: warning: no previous prototype for 'nv_destroy_ibmnpu_info' [-Wmissing-prototypes]
399 | void nv_destroy_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:403:5: warning: no previous prototype for 'nv_init_ibmnpu_devices' [-Wmissing-prototypes]
403 | int nv_init_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:408:6: warning: no previous prototype for 'nv_unregister_ibmnpu_devices' [-Wmissing-prototypes]
408 | void nv_unregister_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:428:5: warning: no previous prototype for 'nv_get_ibmnpu_chip_id' [-Wmissing-prototypes]
428 | int nv_get_ibmnpu_chip_id(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:437:6: warning: no previous prototype for 'nv_ibmnpu_cache_flush_numa_region' [-Wmissing-prototypes]
437 | void nv_ibmnpu_cache_flush_numa_region(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:41:5: warning: no previous prototype for 'libspdm_aead_prealloc' [-Wmissing-prototypes]
41 | int libspdm_aead_prealloc(void **context, char const *alg)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:171:5: warning: no previous prototype for 'libspdm_aead_prealloced' [-Wmissing-prototypes]
171 | int libspdm_aead_prealloced(void *context,
| ^~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ecc.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_rand.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_shash.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead_aes_gcm.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_sha.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hmac_sha.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-msi.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf_sha.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msi':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:39:9: note: in expansion of macro 'NV_KZALLOC'
39 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * nvl->num_intr);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msix':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:90:5: note: in expansion of macro 'NV_KMALLOC'
90 | NV_KMALLOC(nvl->msix_entries, sizeof(struct msix_entry) * num_intr);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:102:5: note: in expansion of macro 'NV_KZALLOC'
102 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * num_intr);
| ^~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ec.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_x509.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.c:33:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_caps.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:269:5: warning: no previous prototype for 'nv_cap_procfs_init' [-Wmissing-prototypes]
269 | int nv_cap_procfs_init(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_procfs_open':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:410:5: note: in expansion of macro 'NV_KMALLOC'
410 | NV_KMALLOC(private, sizeof(nv_cap_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_alloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:614:5: note: in expansion of macro 'NV_KMALLOC'
614 | NV_KMALLOC(cap, sizeof(nv_cap_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:621:5: note: in expansion of macro 'NV_KMALLOC'
621 | NV_KMALLOC(cap->path, len);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:633:5: note: in expansion of macro 'NV_KMALLOC'
633 | NV_KMALLOC(cap->name, len);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_init':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:738:5: note: in expansion of macro 'NV_KMALLOC'
738 | NV_KMALLOC(name, (strlen(path) + strlen(dir)) + 1);
| ^~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:313:12: warning: no previous prototype for 'nvlink_core_init' [-Wmissing-prototypes]
313 | int __init nvlink_core_init(void)
| ^~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:389:6: warning: no previous prototype for 'nvlink_core_exit' [-Wmissing-prototypes]
389 | void nvlink_core_exit(void)
| ^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:52:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
52 | const static struct
| ^~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1705:1: warning: no previous prototype for 'nvswitch_init' [-Wmissing-prototypes]
1705 | nvswitch_init
| ^~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1790:1: warning: no previous prototype for 'nvswitch_exit' [-Wmissing-prototypes]
1790 | nvswitch_exit
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvCpuUuid.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.c:20:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:39:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:84:6: warning: no previous prototype for 'on_nvq_assert' [-Wmissing-prototypes]
84 | void on_nvq_assert(void)
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2317:5: warning: no previous prototype for 'uvm_tools_init' [-Wmissing-prototypes]
2317 | int uvm_tools_init(dev_t uvm_base_dev)
| ^~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2378:6: warning: no previous prototype for 'uvm_tools_exit' [-Wmissing-prototypes]
2378 | void uvm_tools_exit(void)
| ^~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:1884:12: warning: no previous prototype for 'uvm_gpu_get_by_parent_and_swizz_id_locked' [-Wmissing-prototypes]
1884 | uvm_gpu_t *uvm_gpu_get_by_parent_and_swizz_id_locked(uvm_parent_gpu_t *parent_gpu, NvU32 swizz_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:510:6: warning: no previous prototype for 'tracking_semaphore_uses_mutex' [-Wmissing-prototypes]
510 | bool tracking_semaphore_uses_mutex(uvm_gpu_tracking_semaphore_t *tracking_semaphore)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:2290:11: warning: no previous prototype for 'create_static_vidmem_mapping' [-Wmissing-prototypes]
2290 | NV_STATUS create_static_vidmem_mapping(uvm_gpu_t *gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:39:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:359:21: warning: no previous prototype for 'uvm_hal_mmu_mode_maxwell' [-Wmissing-prototypes]
359 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_maxwell(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:368:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported' [-Wmissing-prototypes]
368 | void uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:373:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported' [-Wmissing-prototypes]
373 | void uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:378:23: warning: no previous prototype for 'uvm_hal_maxwell_mmu_engine_id_to_type_unsupported' [-Wmissing-prototypes]
378 | uvm_mmu_engine_type_t uvm_hal_maxwell_mmu_engine_id_to_type_unsupported(NvU16 mmu_engine_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:384:7: warning: no previous prototype for 'uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported' [-Wmissing-prototypes]
384 | NvU16 uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:36:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:364:21: warning: no previous prototype for 'uvm_hal_mmu_mode_pascal' [-Wmissing-prototypes]
364 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_pascal(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:376:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_enable_prefetch_faults' [-Wmissing-prototypes]
376 | void uvm_hal_pascal_mmu_enable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:388:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_disable_prefetch_faults' [-Wmissing-prototypes]
388 | void uvm_hal_pascal_mmu_disable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:400:7: warning: no previous prototype for 'uvm_hal_pascal_mmu_client_id_to_utlb_id' [-Wmissing-prototypes]
400 | NvU16 uvm_hal_pascal_mmu_client_id_to_utlb_id(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:329:6: warning: no previous prototype for 'uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported' [-Wmissing-prototypes]
329 | void uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported(uvm_parent_gpu_t *parent_gpu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.c:34:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:30:6: warning: no previous prototype for 'uvm_hal_hopper_fault_buffer_get_ve_id' [-Wmissing-prototypes]
30 | NvU8 uvm_hal_hopper_fault_buffer_get_ve_id(NvU16 mmu_engine_id, uvm_mmu_engine_type_t mmu_engine_type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.c:35:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.c:162:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:56:11: warning: no previous prototype for 'uvm_handle_fault' [-Wmissing-prototypes]
56 | NV_STATUS uvm_handle_fault(struct vm_area_struct *vma, unsigned long start, unsigned long vma_num_pages, bool write)
| ^~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:510:6: warning: no previous prototype for 'migrate_vma_cleanup_pages' [-Wmissing-prototypes]
510 | void migrate_vma_cleanup_pages(unsigned long *dst, unsigned long npages)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:556:6: warning: no previous prototype for 'uvm_migrate_vma_alloc_and_copy_helper' [-Wmissing-prototypes]
556 | void uvm_migrate_vma_alloc_and_copy_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:645:6: warning: no previous prototype for 'uvm_migrate_vma_finalize_and_map_helper' [-Wmissing-prototypes]
645 | void uvm_migrate_vma_finalize_and_map_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c: In function 'uvm_pte_buffer_init':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:104:42: warning: implicit conversion from 'UvmGpuCachingType' to 'UvmRmGpuCachingType' [-Wenum-conversion]
104 | pte_buffer->mapping_info.cachingType = map_rm_params->caching_type;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:105:42: warning: implicit conversion from 'UvmGpuMappingType' to 'UvmRmGpuMappingType' [-Wenum-conversion]
105 | pte_buffer->mapping_info.mappingType = map_rm_params->mapping_type;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:106:41: warning: implicit conversion from 'UvmGpuFormatType' to 'UvmRmGpuFormatType' [-Wenum-conversion]
106 | pte_buffer->mapping_info.formatType = map_rm_params->format_type;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:107:42: warning: implicit conversion from 'UvmGpuFormatElementBits' to 'UvmRmGpuFormatElementBits' [-Wenum-conversion]
107 | pte_buffer->mapping_info.elementBits = map_rm_params->element_bits;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:108:46: warning: implicit conversion from 'UvmGpuCompressionType' to 'UvmRmGpuCompressionType' [-Wenum-conversion]
108 | pte_buffer->mapping_info.compressionType = map_rm_params->compression_type;
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:1514:8: warning: no previous prototype for 'get_page_sizes' [-Wmissing-prototypes]
1514 | size_t get_page_sizes(uvm_gpu_t *gpu, NvU32 *page_sizes)
| ^~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:687:11: warning: no previous prototype for 'test_conf_computing_channel_selection' [-Wmissing-prototypes]
687 | NV_STATUS test_conf_computing_channel_selection(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:749:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_noop' [-Wmissing-prototypes]
749 | NV_STATUS test_write_ctrl_gpfifo_noop(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:788:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_and_pushes' [-Wmissing-prototypes]
788 | NV_STATUS test_write_ctrl_gpfifo_and_pushes(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:836:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_tight' [-Wmissing-prototypes]
836 | NV_STATUS test_write_ctrl_gpfifo_tight(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:909:11: warning: no previous prototype for '__test_pmm_async_alloc_type' [-Wmissing-prototypes]
909 | NV_STATUS __test_pmm_async_alloc_type(uvm_va_space_t *va_space,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1070:11: warning: no previous prototype for 'do_test_cpu_chunk_free' [-Wmissing-prototypes]
1070 | NV_STATUS do_test_cpu_chunk_free(uvm_cpu_chunk_t *chunk, uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1166:11: warning: no previous prototype for 'test_cpu_chunk_free' [-Wmissing-prototypes]
1166 | NV_STATUS test_cpu_chunk_free(uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-drv.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1080:24: warning: no previous prototype for 'nvkms_open_common' [-Wmissing-prototypes]
1080 | struct nvkms_per_open *nvkms_open_common(enum NvKmsClientType type,
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1132:6: warning: no previous prototype for 'nvkms_close_pm_locked' [-Wmissing-prototypes]
1132 | void nvkms_close_pm_locked(struct nvkms_per_open *popen)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1195:5: warning: no previous prototype for 'nvkms_ioctl_common' [-Wmissing-prototypes]
1195 | int nvkms_ioctl_common
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-connector.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-modeset.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-linux.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of 'int (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Wincompatible-pointer-types]
115 | .vmap = nv_drm_gem_prime_vmap,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for 'nv_drm_gem_funcs.vmap')
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of 'void (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Wincompatible-pointer-types]
116 | .vunmap = nv_drm_gem_prime_vunmap,
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for 'nv_drm_gem_funcs.vunmap')
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nv-pci-table.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-format.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem/nvidia-peermem.o
ld -r -o /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
LD [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm.o
LD [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rax+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rcx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rdx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rsi+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rdi+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbp+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r8+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r9+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r10+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r11+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r12+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r13+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r14+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r15+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000674kms+0x46: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000675kms+0x46: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000096kms+0x9: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000097kms+0xe: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000572kms+0x230: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000008kms+0x59: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000573kms+0x174: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000420kms+0x63: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000019kms+0x268: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000542kms+0x69: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000373kms+0x82: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000741kms+0x8e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000681kms+0x46: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000132kms+0x85: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000477kms+0xd6: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000478kms+0x23: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000518kms+0x174: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000012kms+0x11c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000757kms+0x182: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000756kms+0x12: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002630kms+0x6f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000013kms+0x80: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002631kms+0x74: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000014kms+0x80: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: nvKmsKapiHandleEventQueueChange+0xc2: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: nvKmsKapiGetFunctionsTableInternal+0x37: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002633kms+0x32: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002629kms+0x1de: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002632kms+0x7e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002628kms+0x132: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002641kms+0x1b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002637kms+0x1b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002634kms+0x1f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002639kms+0xe: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002638kms+0x1b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002635kms+0x1f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002141kms+0x42: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000591kms+0x251: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000592kms+0x1bf: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000593kms+0x184: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000594kms+0x227: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000597kms+0x145: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000598kms+0x145: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000596kms+0x19e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000610kms+0x4e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000612kms+0x75: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000595kms+0x35: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002837kms+0x1fd: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002145kms+0x43: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002838kms+0x34: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002841kms+0x212: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002848kms+0xcf: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002847kms+0x175: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002840kms+0x2c1: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000608kms+0x53: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002839kms+0x82: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000607kms+0x1d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002849kms+0x287: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002086kms+0xba: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000615kms+0x87: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000602kms+0xfe: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000614kms+0x1c1: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003046kms+0xdd: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003042kms+0x179: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003043kms+0x1aa: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000618kms+0x5a3: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002096kms+0x26: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002085kms+0xb4: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002834kms+0x1d4: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002835kms+0x2c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002833kms+0x77: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002831kms+0x400: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000599kms+0x223: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002083kms+0x17: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002089kms+0x9a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002090kms+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002199kms+0x20: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000600kms+0x2d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000601kms+0x39: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000616kms+0x16: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000617kms+0x16: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000003kms+0x52: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002842kms+0x188: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002843kms+0x2ec: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002817kms+0x9: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002818kms+0x312: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002819kms+0x2c2: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002829kms+0x1c3: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002822kms+0x7b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002820kms+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002827kms+0x26: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002828kms+0x66: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002144kms+0x79: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002826kms+0x127: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002139kms+0x75: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000609kms+0x43: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000613kms+0x72: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000606kms+0xd6: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000605kms+0x82: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000604kms+0xb0: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000603kms+0xe7: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002844kms+0x166: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002140kms+0x11: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000611kms+0xbf: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002846kms+0x16: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002845kms+0x34: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002830kms+0x5c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002821kms+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002824kms+0x2c1: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002825kms+0x28b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002823kms+0x266: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003045kms+0x25e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002836kms+0x1dc: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002143kms+0xb3: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002832kms+0xcf: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002142kms+0x146: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003044kms+0x28d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000092kms+0x5f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000091kms+0x54: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000090kms+0x1cd: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000094kms+0x6b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000093kms+0x296: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000095kms+0x3a0: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000089kms+0x9b7: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002809kms+0xa4: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002496kms+0x84: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002494kms+0x29: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002777kms+0x51: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002616kms+0xa8: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000522kms+0xf: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000557kms+0x107: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002280kms+0x36: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000753kms+0x3b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000109kms+0x7d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002038kms+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002667kms+0x98: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002036kms+0x166: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002808kms+0xea: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002666kms+0x37: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000516kms+0xcb: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002664kms+0x4b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002039kms+0x77: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000527kms+0x86: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000528kms+0xe4: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000769kms+0x9c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000772kms+0xcb: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002665kms+0x85: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002669kms+0x61: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002035kms+0x64: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002037kms+0x58: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000378kms+0x10f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000386kms+0x92: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000375kms+0xec: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000004kms+0x269: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002663kms+0x54: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002661kms+0x1e2: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002659kms+0x3ae: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002660kms+0x28c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002662kms+0x31: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002813kms+0x3a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000639kms+0x2da: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002226kms+0x17d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002232kms+0x1c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002224kms+0x10f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002230kms+0x1c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002223kms+0x9d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002229kms+0x2c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002228kms+0x25: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002241kms+0x190: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000380kms+0x67: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000742kms+0x76: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002225kms+0x1ec: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002231kms+0x68: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002061kms+0xbf: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv000688kms+0xc8: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002074kms+0xa8: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002244kms+0x2c6: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002239kms+0x557: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002240kms+0x200: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002076kms+0x69: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002075kms+0x48: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002242kms+0x1e0: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002243kms+0x88: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002079kms+0x7b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002078kms+0x67: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002070kms+0x55: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002081kms+0x1be: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002062kms+0x140: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002071kms+0x26: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002059kms+0x2a5: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002072kms+0x58: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002060kms+0x2ca: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002077kms+0x91: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002073kms+0x5a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002080kms+0x7b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002069kms+0x35: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002058kms+0x2cc: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003050kms+0x49: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003049kms+0x2d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002102kms+0x55: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002137kms+0x74: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003058kms+0xdb: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003053kms+0xa5: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003052kms+0x30: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002106kms+0x87: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002206kms+0x127: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002207kms+0x252: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003057kms+0x310: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003054kms+0x2a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003056kms+0x43: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002999kms+0x19: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003000kms+0x1c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003001kms+0x23: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003006kms+0x3f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003007kms+0x4d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003016kms+0xb: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003014kms+0x55: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003015kms+0x7e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002118kms+0x94: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002119kms+0x4c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002120kms+0x86: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002123kms+0x4e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002124kms+0x58: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002126kms+0x75: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002128kms+0xa2: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002129kms+0x64: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002130kms+0x76: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002131kms+0x68: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002132kms+0x98: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002133kms+0x4a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002135kms+0x4b: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002189kms+0x3a: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002190kms+0x69: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002994kms+0x8e: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002995kms+0x187: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv002996kms+0xa1: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003002kms+0x36: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003008kms+0x4f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003009kms+0x189: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003010kms+0x63: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003011kms+0x67: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003012kms+0x3d: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003013kms+0x2f: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003017kms+0x91: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003018kms+0xa9: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003019kms+0xb2: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003020kms+0x97: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003021kms+0x8c: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003023kms+0xab: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003024kms+0xb3: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003040kms+0x42: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003041kms+0x4f: 'naked' return found in MITIGATION_RETHUNK build
LD [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem.o
make[3]: Target '/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.6-arch1-1/build/Makefile:1934: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.6-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.6-arch1-1/build" SYSOUT="/lib/modules/6.10.6-arch1-1/build" ` failed with the following output:
make[1]: Entering directory '/usr/lib/modules/6.10.6-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
SYMLINK /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_array_uc
CONFTEST: set_memory_uc
CONFTEST: set_pages_array_uc
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: ioremap_driver_hardened
CONFTEST: ioremap_driver_hardened_wc
CONFTEST: ioremap_cache_shared
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: pde_data
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_attr_macros
CONFTEST: dma_map_page_attrs
CONFTEST: write_cr4
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_rebar_get_possible_sizes
CONFTEST: wait_for_random_bytes
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write_has_pointer_pos_arg
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: tegra_bpmp_send_receive
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: cc_platform_has
CONFTEST: seq_read_iter
CONFTEST: unsafe_follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: add_memory_driver_managed
CONFTEST: device_property_read_u64
CONFTEST: devm_of_platform_populate
CONFTEST: of_dma_configure
CONFTEST: of_property_count_elems_of_size
CONFTEST: of_property_read_variable_u8_array
CONFTEST: of_property_read_variable_u32_array
CONFTEST: i2c_new_client_device
CONFTEST: i2c_unregister_device
CONFTEST: of_get_named_gpio
CONFTEST: devm_gpio_request_one
CONFTEST: gpio_direction_input
CONFTEST: gpio_direction_output
CONFTEST: gpio_get_value
CONFTEST: gpio_set_value
CONFTEST: gpio_to_irq
CONFTEST: icc_get
CONFTEST: icc_put
CONFTEST: icc_set_bw
CONFTEST: dma_buf_export_args
CONFTEST: dma_buf_ops_has_kmap
CONFTEST: dma_buf_ops_has_kmap_atomic
CONFTEST: dma_buf_ops_has_map
CONFTEST: dma_buf_ops_has_map_atomic
CONFTEST: dma_buf_has_dynamic_attachment
CONFTEST: dma_buf_attachment_has_peer2peer
CONFTEST: dma_set_mask_and_coherent
CONFTEST: devm_clk_bulk_get_all
CONFTEST: get_task_ioprio
CONFTEST: mdev_set_iommu_device
CONFTEST: crypto_tfm_ctx_aligned
CONFTEST: offline_and_remove_memory
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: ioasid_get
CONFTEST: mm_pasid_drop
CONFTEST: mmget_not_zero
CONFTEST: mmgrab
CONFTEST: iommu_sva_bind_device_has_drvdata_arg
CONFTEST: vm_fault_to_errno
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: pin_user_pages_remote
CONFTEST: pin_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_connector_has_vrr_capable_property
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: nvhost_dma_fence_unpack
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_present_pxm_to_node
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_i2c_bus_status
CONFTEST: is_export_symbol_present_tegra_fuse_control_read
CONFTEST: is_export_symbol_present_tegra_get_platform
CONFTEST: is_export_symbol_present_pci_find_host_bridge
CONFTEST: is_export_symbol_present_tsec_comms_send_cmd
CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco
CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem
CONFTEST: is_export_symbol_present_memory_block_size_bytes
CONFTEST: crypto
CONFTEST: is_export_symbol_present_int_active_memcg
CONFTEST: is_export_symbol_present_migrate_vma_setup
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: pci_dev_has_ats_enabled
CONFTEST: remove_memory_has_nid_arg
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
CONFTEST: num_registered_fb
CONFTEST: pci_driver_has_driver_managed_dma
CONFTEST: vm_area_struct_has_const_vm_flags
CONFTEST: memory_failure_has_trapno_arg
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: mmu_notifier_ops_arch_invalidate_secondary_tlbs
CONFTEST: migrate_vma_added_flags
CONFTEST: migrate_device_range
CONFTEST: handle_mm_fault_has_mm_arg
CONFTEST: handle_mm_fault_has_pt_regs_arg
CONFTEST: mempolicy_has_unified_nodes
CONFTEST: mempolicy_has_home_node
CONFTEST: mpol_preferred_many_present
CONFTEST: mmu_interval_notifier
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_crtc_state_has_vrr_enabled
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_crtc_state_has_no_vblank
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: drm_has_hdr_output_metadata
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_master_has_leases
CONFTEST: drm_file_get_master
CONFTEST: drm_modeset_lock_all_end
CONFTEST: drm_connector_lookup
CONFTEST: drm_connector_put
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: vfio_pci_core_available
CONFTEST: mdev_available
CONFTEST: cmd_uphy_display_port_init
CONFTEST: cmd_uphy_display_port_off
CONFTEST: memory_failure_mf_sw_simulated_defined
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-acpi.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-dmabuf.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dmabuf.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-pci.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-cray.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:293:6: warning: no previous prototype for 'nv_load_dma_map_scatterlist' [-Wmissing-prototypes]
293 | void nv_load_dma_map_scatterlist(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-dma.c:489:23: warning: no previous prototype for 'nv_dma_unmap_sgt' [-Wmissing-prototypes]
489 | NV_STATUS NV_API_CALL nv_dma_unmap_sgt(
| ^~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c: In function 'nv_pci_probe':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci.c:396:5: note: in expansion of macro 'NV_KZALLOC'
396 | NV_KZALLOC(nvl, sizeof(nv_linux_state_t));
| ^~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-i2c.c:29:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:31:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c: In function 'nv_alloc_nano_timer':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-nano-timer.c:86:5: note: in expansion of macro 'NV_KMALLOC'
86 | NV_KMALLOC(nv_nstimer, sizeof(nv_nano_timer_t));
| ^~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:34:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvos_create_alloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:262:5: note: in expansion of macro 'NV_KZALLOC'
262 | NV_KZALLOC(at, sizeof(nv_alloc_t));
| ^~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:735:12: warning: no previous prototype for 'nvidia_init_module' [-Wmissing-prototypes]
735 | int __init nvidia_init_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:855:6: warning: no previous prototype for 'nvidia_exit_module' [-Wmissing-prototypes]
855 | void nvidia_exit_module(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_file_private':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:879:5: note: in expansion of macro 'NV_KZALLOC'
879 | NV_KZALLOC(nvlfp, sizeof(nv_linux_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:1124:23: warning: no previous prototype for 'nv_get_num_dpaux_instances' [-Wmissing-prototypes]
1124 | NV_STATUS NV_API_CALL nv_get_num_dpaux_instances(nv_state_t *nv, NvU32 *num_instances)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nvidia_ioctl':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2104:5: note: in expansion of macro 'NV_KMALLOC'
2104 | NV_KMALLOC(arg_copy, arg_size);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2165:13: note: in expansion of macro 'NV_KMALLOC'
2165 | NV_KMALLOC(nvlfp->attached_gpus, arg_size);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_map_guest_pages':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:2805:5: note: in expansion of macro 'NV_KMALLOC'
2805 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_alloc_kernel_mapping':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3282:13: note: in expansion of macro 'NV_KMALLOC'
3282 | NV_KMALLOC(pages, sizeof(struct page *) * page_count);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c: In function 'nv_post_event':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv.c:3554:9: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
3554 | NV_KMALLOC_ATOMIC(nvet, sizeof(nvidia_event_t));
| ^~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-p2p.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:303:5: warning: conflicting types for 'nv_encode_caching' due to enum/integer mismatch; have 'int(pgprot_t *, NvU32, nv_memory_type_t)' {aka 'int(struct pgprot *, unsigned int, nv_memory_type_t)'} [-Wenum-int-mismatch]
303 | int nv_encode_caching(
| ^~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:1761:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-proto.h:46:13: note: previous declaration of 'nv_encode_caching' with type 'int(pgprot_t *, NvU32, NvU32)' {aka 'int(struct pgprot *, unsigned int, unsigned int)'}
46 | int nv_encode_caching (pgprot_t *, NvU32, NvU32);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:371:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
371 | int static nvidia_mmap_peer_io(
| ^~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-mmap.c:392:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
392 | int static nvidia_mmap_sysmem(
| ^~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pat.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_open_file':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:276:5: note: in expansion of macro 'NV_KZALLOC'
276 | NV_KZALLOC(nvpp, sizeof(nv_procfs_private_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-procfs.c:698:1: warning: no previous prototype for 'exercise_error_forwarding_va' [-Wmissing-prototypes]
698 | exercise_error_forwarding_va(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-usermap.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vm.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:370:7: warning: no previous prototype for 'os_mem_copy_custom' [-Wmissing-prototypes]
370 | void *os_mem_copy_custom(
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_mem':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:584:13: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
584 | NV_KMALLOC_ATOMIC(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:624:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
624 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:590:13: note: in expansion of macro 'NV_KMALLOC_NO_OOM'
590 | NV_KMALLOC_NO_OOM(*address, alloc_size);
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_queue_work_item':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:609:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
609 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1113:5: note: in expansion of macro 'NV_KMALLOC_ATOMIC'
1113 | NV_KMALLOC_ATOMIC(oqd, sizeof(os_queue_data_t));
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c: In function 'os_alloc_wait_queue':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-interface.c:1945:5: note: in expansion of macro 'NV_KMALLOC'
1945 | NV_KMALLOC(*wq, sizeof(os_wait_queue));
| ^~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-pci-table.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-vtophys.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-pci.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-registry.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-usermap.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-modeset-interface.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:395:6: warning: no previous prototype for 'nv_init_ibmnpu_info' [-Wmissing-prototypes]
395 | void nv_init_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:399:6: warning: no previous prototype for 'nv_destroy_ibmnpu_info' [-Wmissing-prototypes]
399 | void nv_destroy_ibmnpu_info(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:403:5: warning: no previous prototype for 'nv_init_ibmnpu_devices' [-Wmissing-prototypes]
403 | int nv_init_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:408:6: warning: no previous prototype for 'nv_unregister_ibmnpu_devices' [-Wmissing-prototypes]
408 | void nv_unregister_ibmnpu_devices(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:428:5: warning: no previous prototype for 'nv_get_ibmnpu_chip_id' [-Wmissing-prototypes]
428 | int nv_get_ibmnpu_chip_id(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-ibmnpu.c:437:6: warning: no previous prototype for 'nv_ibmnpu_cache_flush_numa_region' [-Wmissing-prototypes]
437 | void nv_ibmnpu_cache_flush_numa_region(nv_state_t *nv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:41:5: warning: no previous prototype for 'libspdm_aead_prealloc' [-Wmissing-prototypes]
41 | int libspdm_aead_prealloc(void **context, char const *alg)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead.c:171:5: warning: no previous prototype for 'libspdm_aead_prealloced' [-Wmissing-prototypes]
171 | int libspdm_aead_prealloced(void *context,
| ^~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ecc.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-report-err.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-memdbg.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_rand.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_shash.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_aead_aes_gcm.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_sha.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-rsync.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hmac_sha.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-msi.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_hkdf_sha.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msi':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:39:9: note: in expansion of macro 'NV_KZALLOC'
39 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * nvl->num_intr);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c: In function 'nv_init_msix':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:90:5: note: in expansion of macro 'NV_KMALLOC'
90 | NV_KMALLOC(nvl->msix_entries, sizeof(struct msix_entry) * num_intr);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:602:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
602 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-msi.c:102:5: note: in expansion of macro 'NV_KZALLOC'
102 | NV_KZALLOC(nvl->irq_count, sizeof(nv_irq_count_info_t) * num_intr);
| ^~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_ec.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/libspdm_x509.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv_uvm_interface.c:33:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_caps.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-frontend.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:269:5: warning: no previous prototype for 'nv_cap_procfs_init' [-Wmissing-prototypes]
269 | int nv_cap_procfs_init(void)
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_procfs_open':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:410:5: note: in expansion of macro 'NV_KMALLOC'
410 | NV_KMALLOC(private, sizeof(nv_cap_file_private_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_alloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:614:5: note: in expansion of macro 'NV_KMALLOC'
614 | NV_KMALLOC(cap, sizeof(nv_cap_t));
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:621:5: note: in expansion of macro 'NV_KMALLOC'
621 | NV_KMALLOC(cap->path, len);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:633:5: note: in expansion of macro 'NV_KMALLOC'
633 | NV_KMALLOC(cap->name, len);
| ^~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c: In function 'nv_cap_init':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:595:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
595 | NV_MEMDBG_ADD(ptr, size); \
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nv-caps.c:738:5: note: in expansion of macro 'NV_KMALLOC'
738 | NV_KMALLOC(name, (strlen(path) + strlen(dir)) + 1);
| ^~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:313:12: warning: no previous prototype for 'nvlink_core_init' [-Wmissing-prototypes]
313 | int __init nvlink_core_init(void)
| ^~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/nvlink_linux.c:389:6: warning: no previous prototype for 'nvlink_core_exit' [-Wmissing-prototypes]
389 | void nvlink_core_exit(void)
| ^~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/i2c_nvswitch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:52:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
52 | const static struct
| ^~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1705:1: warning: no previous prototype for 'nvswitch_init' [-Wmissing-prototypes]
1705 | nvswitch_init
| ^~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.c:1790:1: warning: no previous prototype for 'nvswitch_exit' [-Wmissing-prototypes]
1790 | nvswitch_exit
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/linux_nvswitch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/procfs_nvswitch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_sva.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nvCpuUuid.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_conf_computing.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_sec2.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_sec2_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_sec2.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.c:20:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:39:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/nv-kthread-q-selftest.c:84:6: warning: no previous prototype for 'on_nvq_assert' [-Wmissing-prototypes]
84 | void on_nvq_assert(void)
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2317:5: warning: no previous prototype for 'uvm_tools_init' [-Wmissing-prototypes]
2317 | int uvm_tools_init(dev_t uvm_base_dev)
| ^~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tools.c:2378:6: warning: no previous prototype for 'uvm_tools_exit' [-Wmissing-prototypes]
2378 | void uvm_tools_exit(void)
| ^~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_isr.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.c:1884:12: warning: no previous prototype for 'uvm_gpu_get_by_parent_and_swizz_id_locked' [-Wmissing-prototypes]
1884 | uvm_gpu_t *uvm_gpu_get_by_parent_and_swizz_id_locked(uvm_parent_gpu_t *parent_gpu, NvU32 swizz_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_procfs.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space_mm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.c:510:6: warning: no previous prototype for 'tracking_semaphore_uses_mutex' [-Wmissing-prototypes]
510 | bool tracking_semaphore_uses_mutex(uvm_gpu_tracking_semaphore_t *tracking_semaphore)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_range.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_policy.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_replayable_faults.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv_uvm_interface.h:37,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_access_counters.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pte_batch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tlb_batch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mmu.c:2290:11: warning: no previous prototype for 'create_static_vidmem_mapping' [-Wmissing-prototypes]
2290 | NV_STATUS create_static_vidmem_mapping(uvm_gpu_t *gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pushbuffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:39:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:359:21: warning: no previous prototype for 'uvm_hal_mmu_mode_maxwell' [-Wmissing-prototypes]
359 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_maxwell(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:368:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported' [-Wmissing-prototypes]
368 | void uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:373:6: warning: no previous prototype for 'uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported' [-Wmissing-prototypes]
373 | void uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:378:23: warning: no previous prototype for 'uvm_hal_maxwell_mmu_engine_id_to_type_unsupported' [-Wmissing-prototypes]
378 | uvm_mmu_engine_type_t uvm_hal_maxwell_mmu_engine_id_to_type_unsupported(NvU16 mmu_engine_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_mmu.c:384:7: warning: no previous prototype for 'uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported' [-Wmissing-prototypes]
384 | NvU16 uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_maxwell_access_counter_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:36:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:364:21: warning: no previous prototype for 'uvm_hal_mmu_mode_pascal' [-Wmissing-prototypes]
364 | uvm_mmu_mode_hal_t *uvm_hal_mmu_mode_pascal(NvU32 big_page_size)
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:376:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_enable_prefetch_faults' [-Wmissing-prototypes]
376 | void uvm_hal_pascal_mmu_enable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:388:6: warning: no previous prototype for 'uvm_hal_pascal_mmu_disable_prefetch_faults' [-Wmissing-prototypes]
388 | void uvm_hal_pascal_mmu_disable_prefetch_faults(uvm_parent_gpu_t *parent_gpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_mmu.c:400:7: warning: no previous prototype for 'uvm_hal_pascal_mmu_client_id_to_utlb_id' [-Wmissing-prototypes]
400 | NvU16 uvm_hal_pascal_mmu_client_id_to_utlb_id(NvU16 client_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pascal_fault_buffer.c:329:6: warning: no previous prototype for 'uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported' [-Wmissing-prototypes]
329 | void uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported(uvm_parent_gpu_t *parent_gpu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_mmu.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_volta_access_counter_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_access_counter_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_mmu.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_turing_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_mmu.c:34:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ampere_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_fault_buffer.c:30:6: warning: no previous prototype for 'uvm_hal_hopper_fault_buffer_get_ve_id' [-Wmissing-prototypes]
30 | NvU8 uvm_hal_hopper_fault_buffer_get_ve_id(NvU16 mmu_engine_id, uvm_mmu_engine_type_t mmu_engine_type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_ce.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_host.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hopper_mmu.c:35:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_policy.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ada.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_gpu.c:162:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_populate_pageable.c:56:11: warning: no previous prototype for 'uvm_handle_fault' [-Wmissing-prototypes]
56 | NV_STATUS uvm_handle_fault(struct vm_area_struct *vma, unsigned long start, unsigned long vma_num_pages, bool write)
| ^~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:510:6: warning: no previous prototype for 'migrate_vma_cleanup_pages' [-Wmissing-prototypes]
510 | void migrate_vma_cleanup_pages(unsigned long *dst, unsigned long npages)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:556:6: warning: no previous prototype for 'uvm_migrate_vma_alloc_and_copy_helper' [-Wmissing-prototypes]
556 | void uvm_migrate_vma_alloc_and_copy_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_migrate_pageable.c:645:6: warning: no previous prototype for 'uvm_migrate_vma_finalize_and_map_helper' [-Wmissing-prototypes]
645 | void uvm_migrate_vma_finalize_and_map_helper(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu.h:31,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c: In function 'uvm_pte_buffer_init':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:104:42: warning: implicit conversion from 'UvmGpuCachingType' to 'UvmRmGpuCachingType' [-Wenum-conversion]
104 | pte_buffer->mapping_info.cachingType = map_rm_params->caching_type;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:105:42: warning: implicit conversion from 'UvmGpuMappingType' to 'UvmRmGpuMappingType' [-Wenum-conversion]
105 | pte_buffer->mapping_info.mappingType = map_rm_params->mapping_type;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:106:41: warning: implicit conversion from 'UvmGpuFormatType' to 'UvmRmGpuFormatType' [-Wenum-conversion]
106 | pte_buffer->mapping_info.formatType = map_rm_params->format_type;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:107:42: warning: implicit conversion from 'UvmGpuFormatElementBits' to 'UvmRmGpuFormatElementBits' [-Wenum-conversion]
107 | pte_buffer->mapping_info.elementBits = map_rm_params->element_bits;
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_map_external.c:108:46: warning: implicit conversion from 'UvmGpuCompressionType' to 'UvmRmGpuCompressionType' [-Wenum-conversion]
108 | pte_buffer->mapping_info.compressionType = map_rm_params->compression_type;
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_heuristics.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_types.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hmm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_thrashing.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_user_channel.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_prefetch.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_space.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_ibm.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ats_faults.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_allocator_test.c:25:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_processors.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rm_mem_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_hal.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_mem_test.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test_rng.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_page_tree_test.c:1514:8: warning: no previous prototype for 'get_page_sizes' [-Wmissing-prototypes]
1514 | size_t get_page_sizes(uvm_gpu_t *gpu, NvU32 *page_sizes)
| ^~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_tracker_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_push_test.c:26:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:687:11: warning: no previous prototype for 'test_conf_computing_channel_selection' [-Wmissing-prototypes]
687 | NV_STATUS test_conf_computing_channel_selection(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:749:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_noop' [-Wmissing-prototypes]
749 | NV_STATUS test_write_ctrl_gpfifo_noop(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:788:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_and_pushes' [-Wmissing-prototypes]
788 | NV_STATUS test_write_ctrl_gpfifo_and_pushes(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel_test.c:836:11: warning: no previous prototype for 'test_write_ctrl_gpfifo_tight' [-Wmissing-prototypes]
836 | NV_STATUS test_write_ctrl_gpfifo_tight(uvm_va_space_t *va_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_extern_decl.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_global.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_host_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_lock.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_gpu_semaphore.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_channel.h:29,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_ce_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_utils_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_test.c:909:11: warning: no previous prototype for '__test_pmm_async_alloc_type' [-Wmissing-prototypes]
909 | NV_STATUS __test_pmm_async_alloc_type(uvm_va_space_t *va_space,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_events_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_kvmalloc.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_perf_module_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c: At top level:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1070:11: warning: no previous prototype for 'do_test_cpu_chunk_free' [-Wmissing-prototypes]
1070 | NV_STATUS do_test_cpu_chunk_free(uvm_cpu_chunk_t *chunk, uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_pmm_sysmem_test.c:1166:11: warning: no previous prototype for 'test_cpu_chunk_free' [-Wmissing-prototypes]
1166 | NV_STATUS test_cpu_chunk_free(uvm_va_space_t *va_space, uvm_processor_mask_t *test_gpus)
| ^~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_get_rm_ptes_test.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_fault_buffer_flush_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_peer_identity_mappings_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_va_block_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_test.h:27,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_range_group_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-drv.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_api.h:28,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_thread_context_test.c:23:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_linux.h:40,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_common.h:43,
from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm/uvm_rb_tree_test.c:24:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1080:24: warning: no previous prototype for 'nvkms_open_common' [-Wmissing-prototypes]
1080 | struct nvkms_per_open *nvkms_open_common(enum NvKmsClientType type,
| ^~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1132:6: warning: no previous prototype for 'nvkms_close_pm_locked' [-Wmissing-prototypes]
1132 | void nvkms_close_pm_locked(struct nvkms_per_open *popen)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.c:1195:5: warning: no previous prototype for 'nvkms_ioctl_common' [-Wmissing-prototypes]
1195 | int nvkms_ioctl_common
| ^~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c: In function 'thread_create_on_node':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.c:179:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
179 | const static unsigned attempts = 3;
| ^~~~~
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-connector.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-modeset.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-fence.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-linux.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of 'int (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Wincompatible-pointer-types]
115 | .vmap = nv_drm_gem_prime_vmap,
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for 'nv_drm_gem_funcs.vmap')
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of 'void (*)(struct drm_gem_object *, struct iosys_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Wincompatible-pointer-types]
116 | .vunmap = nv_drm_gem_prime_vunmap,
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for 'nv_drm_gem_funcs.vunmap')
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem.o] Error 1
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nv-pci-table.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-drm/nvidia-drm-format.o
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem/nvidia-peermem.o
ld -r -o /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset/nv-kthread-q.o
LD [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-uvm.o
LD [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rax+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rcx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rdx+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rsi+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rdi+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_rbp+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r8+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r9+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r10+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r11+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r12+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r13+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r14+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: __x86_indirect_thunk_r15+0x0: indirect jump found in MITIGATION_RETPOLINE build
/tmp/selfgz6988/NVIDIA
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003040kms+0x42: 'naked' return found in MITIGATION_RETHUNK build
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-modeset.o: warning: objtool: _nv003041kms+0x4f: 'naked' return found in MITIGATION_RETHUNK build
LD [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia-peermem.o
make[3]: Target '/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.6-arch1-1/build/Makefile:1934: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.6-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
-> Checking to see whether the nvidia kernel module was successfully built
executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.6-arch1-1/build" SYSOUT="/lib/modules/6.10.6-arch1-1/build" NV_KERNEL_MODULES="nvidia"'...
make[1]: Entering directory '/usr/lib/modules/6.10.6-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
make[3]: Target '/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.6-arch1-1/build/Makefile:1934: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.6-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/6.10.6-arch1-1/build" SYSOUT="/lib/modules/6.10.6-arch1-1/build" NV_KERNEL_MODULES="nvidia"` failed with the following output:
make[1]: Entering directory '/usr/lib/modules/6.10.6-arch1-1/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 14.2.1 20240805
You are using: cc (GCC) 14.2.1 20240805
CC [M] /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o
In file included from /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:27:
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmalloc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:502:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
502 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:520:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
520 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_cache':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:556:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
556 | NV_MEMDBG_ADD(ptr, size);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_ioremap_wc':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/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);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h: In function 'nv_vmap':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/common/inc/nv-linux.h:699:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
699 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c: In function 'nv_follow_pfn':
/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.c:36:12: error: implicit declaration of function 'follow_pfn'; did you mean 'follow_pte'? [-Wimplicit-function-declaration]
36 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/nvidia/os-mlock.o] Error 1
make[3]: Target '/tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.10.6-arch1-1/build/Makefile:1934: /tmp/selfgz6988/NVIDIA-Linux-x86_64-535.161.07-grid/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.10.6-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Offline
latest logs after trying
export EXTRA_CFLAGS="-Wimplicit-function-declaration -Wincompatible-pointer-types"
Offline
Does changing the flags as below make any difference?
export EXTRA_CFLAGS="-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"
Edit:
'/usr/lib/modules/6.10.6-arch1-1/build'
The latest build failure was against 6.10; was that unpatched or patched for 6.10 compatibility?
Last edited by loqs (2024-08-21 00:46:16)
Offline
i havent patched anything. Im kinda lost on what exactly that means.
Should i try the flags you suggested?
Last edited by awptechnologies (2024-08-21 00:58:22)
Offline
I tried the flags you suggested and still fails
Offline
You need to patch the Nvidia 535.161.07 kernel driver in order to build it against linux 6.10.Y. Do you not have access to newer vGPU drivers such as the 16.7 or 17.3 series? Which should avoid the need for patching.
Edit:
https://cloud.google.com/compute/docs/g … vers-table
Last edited by loqs (2024-08-21 01:15:53)
Offline
I do not as stated before this is the driver that matches the driver on my proxmox host. I have tried the newer drivers but my gpu isnt supported on newer drivers. The vgpu patch will not work. I have to use the driver that i have.
Offline