warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Pisi Linux) 15.2.0
  You are using:           x86_64-pc-linux-gnu-gcc (Pisi Linux) 15.2.0
nv-dma.c:42:11: warning: no previous prototype for ‘nv_create_dma_map_scatterlist’ [-Wmissing-prototypes]
   42 | RM_STATUS nv_create_dma_map_scatterlist(nv_dma_map_t *dma_map)
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nv-dma.c:56:6: warning: no previous prototype for ‘nv_destroy_dma_map_scatterlist’ [-Wmissing-prototypes]
   56 | void nv_destroy_dma_map_scatterlist(nv_dma_map_t *dma_map)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nv-dma.c:65:6: warning: no previous prototype for ‘nv_load_dma_map_scatterlist’ [-Wmissing-prototypes]
   65 | void nv_load_dma_map_scatterlist(
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
nv.c:709:12: warning: no previous prototype for ‘nvidia_init_module’ [-Wmissing-prototypes]
  709 | int __init nvidia_init_module(void)
      |            ^~~~~~~~~~~~~~~~~~
nv.c:1054:6: warning: no previous prototype for ‘nvidia_exit_module’ [-Wmissing-prototypes]
 1054 | void nvidia_exit_module(void)
      |      ^~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.18.43/include/linux/srcu.h:21,
                 from /usr/src/linux-headers-6.18.43/include/linux/notifier.h:16,
                 from /usr/src/linux-headers-6.18.43/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-headers-6.18.43/include/linux/uprobes.h:66,
                 from /usr/src/linux-headers-6.18.43/include/linux/mm_types.h:16,
                 from /usr/src/linux-headers-6.18.43/include/linux/mmzone.h:22,
                 from /usr/src/linux-headers-6.18.43/include/linux/gfp.h:7,
                 from /usr/src/linux-headers-6.18.43/include/linux/umh.h:4,
                 from /usr/src/linux-headers-6.18.43/include/linux/kmod.h:9,
                 from /usr/src/linux-headers-6.18.43/include/linux/module.h:18,
                 from nv-linux.h:65,
                 from nv.c:13:
In function ‘nvidia_remove’,
    inlined from ‘nvidia_exit_module’ at nv.c:1083:13:
/usr/src/linux-headers-6.18.43/include/linux/workqueue.h:772:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  772 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nv-linux.h:1718:5: note: in expansion of macro ‘flush_scheduled_work’
 1718 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
nv.c:3013:9: note: in expansion of macro ‘NV_TASKQUEUE_FLUSH’
 3013 |         NV_TASKQUEUE_FLUSH();
      |         ^~~~~~~~~~~~~~~~~~
nv.c: In function ‘nvidia_close’:
/usr/src/linux-headers-6.18.43/include/linux/workqueue.h:772:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  772 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nv-linux.h:1718:5: note: in expansion of macro ‘flush_scheduled_work’
 1718 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
nv.c:1549:13: note: in expansion of macro ‘NV_TASKQUEUE_FLUSH’
 1549 |             NV_TASKQUEUE_FLUSH();
      |             ^~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.18.43/include/linux/srcu.h:21,
                 from /usr/src/linux-headers-6.18.43/include/linux/notifier.h:16,
                 from /usr/src/linux-headers-6.18.43/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-headers-6.18.43/include/linux/uprobes.h:66,
                 from /usr/src/linux-headers-6.18.43/include/linux/mm_types.h:16,
                 from /usr/src/linux-headers-6.18.43/include/linux/mmzone.h:22,
                 from /usr/src/linux-headers-6.18.43/include/linux/gfp.h:7,
                 from /usr/src/linux-headers-6.18.43/include/linux/umh.h:4,
                 from /usr/src/linux-headers-6.18.43/include/linux/kmod.h:9,
                 from /usr/src/linux-headers-6.18.43/include/linux/module.h:18,
                 from nv-linux.h:65,
                 from nv-gvi.c:15:
nv-gvi.c: In function ‘nv_gvi_kern_suspend’:
/usr/src/linux-headers-6.18.43/include/linux/workqueue.h:772:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  772 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nv-linux.h:1718:5: note: in expansion of macro ‘flush_scheduled_work’
 1718 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
nv-gvi.c:92:5: note: in expansion of macro ‘NV_TASKQUEUE_FLUSH’
   92 |     NV_TASKQUEUE_FLUSH();
      |     ^~~~~~~~~~~~~~~~~~
nv-mmap.c: In function ‘nv_encode_caching’:
nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  199 |             if (NV_ALLOW_CACHING(memory_type))
      |                ^
nv-mmap.c:201:9: note: here
  201 |         default:
      |         ^~~~~~~
nv-procfs.c:592:6: warning: no previous prototype for ‘nv_procfs_unregister_all’ [-Wmissing-prototypes]
  592 | void nv_procfs_unregister_all(struct proc_dir_entry *entry, struct proc_dir_entry *delimiter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.18.43/include/linux/srcu.h:21,
                 from /usr/src/linux-headers-6.18.43/include/linux/notifier.h:16,
                 from /usr/src/linux-headers-6.18.43/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-headers-6.18.43/include/linux/uprobes.h:66,
                 from /usr/src/linux-headers-6.18.43/include/linux/mm_types.h:16,
                 from /usr/src/linux-headers-6.18.43/include/linux/mmzone.h:22,
                 from /usr/src/linux-headers-6.18.43/include/linux/gfp.h:7,
                 from /usr/src/linux-headers-6.18.43/include/linux/umh.h:4,
                 from /usr/src/linux-headers-6.18.43/include/linux/kmod.h:9,
                 from /usr/src/linux-headers-6.18.43/include/linux/module.h:18,
                 from nv-linux.h:65,
                 from os-interface.c:15:
os-interface.c: In function ‘os_flush_work_queue’:
/usr/src/linux-headers-6.18.43/include/linux/workqueue.h:772:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  772 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nv-linux.h:1718:5: note: in expansion of macro ‘flush_scheduled_work’
 1718 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
os-interface.c:1071:9: note: in expansion of macro ‘NV_TASKQUEUE_FLUSH’
 1071 |         NV_TASKQUEUE_FLUSH();
      |         ^~~~~~~~~~~~~~~~~~
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia.o
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Pisi Linux) 15.2.0
  You are using:           x86_64-pc-linux-gnu-gcc (Pisi Linux) 15.2.0
/usr/src/linux-headers-6.18.43/scripts/Makefile.build:571: warning: overriding recipe for target './'
../nvidia-modules-common.mk:141: warning: ignoring old recipe for target './'
nvidia_uvm_lite.c:207:6: warning: no previous prototype for ‘_stop_and_destroy_leftover_streams’ [-Wmissing-prototypes]
  207 | void _stop_and_destroy_leftover_streams(UvmProcessRecord *processRecord)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvidia_uvm_lite.c:694:5: warning: no previous prototype for ‘_fault_common’ [-Wmissing-prototypes]
  694 | int _fault_common(struct vm_area_struct *vma, unsigned long vaddr,
      |     ^~~~~~~~~~~~~
nvidia_uvm_lite.c:824:12: warning: no previous prototype for ‘_fault’ [-Wmissing-prototypes]
  824 | vm_fault_t _fault(struct vm_fault *vmf)
      |            ^~~~~~
nvidia_uvm_lite.c:885:12: warning: no previous prototype for ‘_sigbus_fault’ [-Wmissing-prototypes]
  885 | vm_fault_t _sigbus_fault(struct vm_fault *vmf)
      |            ^~~~~~~~~~~~~
nvidia_uvm_lite.c: In function ‘migrate_cpu_to_gpu’:
nvidia_uvm_lite.c:2526:53: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 2526 |                              pRecord->vma, rmStatus);
      |                                                     ^
nvidia_uvm_lite_api.c:94:1: warning: no previous prototype for ‘find_counters_vma’ [-Wmissing-prototypes]
   94 | find_counters_vma(unsigned long long requestedBase,
      | ^~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.18.43/scripts/Makefile.modpost:147: warning: overriding recipe for target 'Module.symvers'
Makefile:225: warning: ignoring old recipe for target 'Module.symvers'