FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2025 PLD Team
$Revision: 1.37 $
Powered by Microsoft Windows 2003.
Your IP: 18.97.9.168

xorg-driver-video-nvidia-legacy-390xx e78d8e9a-c155-4daa-818f-d93ab7d19afe

Status:Failed
Source URL:https://buildlogs.pld-linux.org/pld/th/i686/FAIL/xorg-driver-video-nvidia-legacy-390xx,e78d8e9a-c155-4daa-818f-d93ab7d19afe.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2025/06/14 13:57:03
Runtime:0:00:55.329289

Toc:

  • error 1
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 2
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 3
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 4
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 5
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 6
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.o] Error 1
  • error 7
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 8
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 9
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 10
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 11
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 12
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.o] Error 1
  • error 13
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 14
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 15
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 16
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 17
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 18
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.o] Error 1
  • error 19
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 20
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 21
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 22
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 23
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 24
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.o] Error 1
  • error 25
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 26
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 27
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 28
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 29
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 30
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.o] Error 1
  • error 31
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 32
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 33
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 34
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 35
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 36
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.o] Error 1
  • error 37
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 38
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 39
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 40
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 41
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 42
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.o] Error 1
  • error 43
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 44
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 45
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 46
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 47
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 48
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.o] Error 1
  • error 49
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 50
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 51
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 52
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 53
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 54
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.o] Error 1
  • error 55
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 56
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 57
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 58
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 59
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 60
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.o] Error 1
  • error 61
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 62
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 63
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 64
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 65
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 66
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-modeset-interface.o] Error 1
  • error 67
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 68
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 69
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 70
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 71
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 72
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.o] Error 1
  • error 73
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 74
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 75
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 76
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 77
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 78
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.o] Error 1
  • error 79
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 80
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 81
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 82
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 83
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 84
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.o] Error 1
  • error 85
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 86
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 87
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 88
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 89
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 90
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.o] Error 1
  • error 91
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 92
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 93
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 94
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 95
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 96
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.o] Error 1
  • error 97
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 98
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 99
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 100
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 101
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 102
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.o] Error 1
  • error 103
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 104
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 105
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 106
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 107
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 108
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.o] Error 1
  • error 109
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 110
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 111
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 112
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 113
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 114
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.o] Error 1
  • error 115
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 116
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 117
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 118
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 119
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 120
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.o] Error 1
  • error 121
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 122
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 123
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 124
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 125
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 126
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.o] Error 1
  • error 127
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 128
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 129
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 130
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 131
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 132
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.o] Error 1
  • error 133
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 134
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 135
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 136
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 137
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 138
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.o] Error 1
  • error 139
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 140
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 141
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 142
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 143
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 144
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.o] Error 1
  • error 145
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 146
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 147
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 148
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 149
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 150
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.o] Error 1
  • error 151
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  • error 152
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  • error 153
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
  • error 154
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
  • error 155
  • /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
  • error 156
  • make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.o] Error 1
  • error 157
  • make[1]: *** [Makefile:2013: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel] Error 2
  • error 158
  • error: Bad exit status from /tmp/B.4wpa8crt/BUILD/tmp/rpm-tmp.Dd7lJc (%build)
  • error 159
  • RPM build errors:
  • error 160
  • error: No files produced.

Content:

 CONFTEST: backlight_device_register
 CONFTEST: unsafe_follow_pfn
 CONFTEST: vga_tryget
 CONFTEST: drm_atomic_state_ref_counting
 CONFTEST: sg_alloc_table
 CONFTEST: drm_reinit_primary_mode_group
 CONFTEST: drm_gem_object_get
 CONFTEST: drm_connector_funcs_have_mode_in_name
 CONFTEST: pm_message_t
 CONFTEST: acpi_device_ops
 CONFTEST: drm_gem_object_put_unlocked
 CONFTEST: drm_atomic_helper_connector_dpms
 CONFTEST: acpi_op_remove
 CONFTEST: proc_dir_entry
 CONFTEST: kuid_t
 CONFTEST: strnstr
 CONFTEST: task_struct
 CONFTEST: scatterlist
 CONFTEST: sg_table
 CONFTEST: kstrtoull
 CONFTEST: irq_handler_t
 CONFTEST: register_acpi_notifier
 CONFTEST: file_inode
 CONFTEST: drm_bus_present
 CONFTEST: drm_bus_has_bus_type
 CONFTEST: drm_bus_has_get_irq
 CONFTEST: pci_save_state
 CONFTEST: timeval
 CONFTEST: drm_bus_has_get_name
 CONFTEST: vmalloc_has_pgprot_t_arg
 CONFTEST: i2c_adapter
 CONFTEST: drm_driver_has_set_busid
 CONFTEST: dma_ops
 CONFTEST: mm_has_mmap_lock
 CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
 CONFTEST: drm_master_drop_has_from_release_arg
 CONFTEST: drm_driver_unload_has_int_return_type
 CONFTEST: dma_map_ops
 CONFTEST: sysfs_slab_unlink
 CONFTEST: get_user_pages
 CONFTEST: iterate_dir
 CONFTEST: kernel_write
 CONFTEST: swiotlb_dma_ops
 CONFTEST: drm_gem_object_lookup
 CONFTEST: proc_ops
 CONFTEST: drm_gem_prime_export_has_dev_arg
 CONFTEST: vm_fault_present
 CONFTEST: noncoherent_swiotlb_dma_ops
 CONFTEST: vm_fault_has_address
 CONFTEST: drm_driver_has_device_list
 CONFTEST: drm_driver_has_legacy_dev_list
 CONFTEST: kref_has_refcount_of_type_refcount_t
 CONFTEST: kmem_cache_has_kobj_remove_work
 CONFTEST: drm_mode_object_find_has_file_priv_arg
 CONFTEST: vm_operations_struct
 CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
 CONFTEST: dom0_kernel_present
 CONFTEST: pci_dev_has_skip_bus_pm
 CONFTEST: pci_channel_state
 CONFTEST: nvidia_vgpu_kvm_build
 CONFTEST: nvidia_grid_build
 CONFTEST: drm_driver_prime_flag_present
 CONFTEST: is_export_symbol_gpl_refcount_inc
 CONFTEST: drm_driver_master_set_has_int_return_type
 CONFTEST: drm_crtc_state_has_connectors_changed
 CONFTEST: drm_driver_has_gem_free_object
 CONFTEST: vm_ops_fault_removed_vma_arg
 CONFTEST: backlight_properties_type
 CONFTEST: drm_driver_has_gem_prime_callbacks
 CONFTEST: list_cut_position
 CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
 CONFTEST: drm_driver_has_date
 CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
 CONFTEST: dma_resv_add_fence
 CONFTEST: drm_device_has_pdev
 CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
 CONFTEST: dma_resv_reserve_fences
 CONFTEST: vm_fault_t
 CONFTEST: file_operations
 CONFTEST: drm_display_mode_has_vrefresh
 CONFTEST: drm_helper_mode_fill_fb_struct
 CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
 CONFTEST: drm_gem_object_has_resv
 CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
 CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
 CONFTEST: drm_gem_object_vmap_has_map_arg
 CONFTEST: drm_output_poll_changed
 CONFTEST: drm_available
 CONFTEST: drm_connector_list_iter
 CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
 CONFTEST: drm_init_function_args
 CONFTEST: drm_atomic_available
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-pci-table.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_pci_table"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pci-table.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pci-table.c  
  ./scripts/check-local-export /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pci-table.o
  if nm /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pci-table.o 2>/dev/null | grep -q __ksymtab; then /usr/bin/i686-pld-linux-gcc -E -D__GENKSYMS__ -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-pci-table.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_pci_table"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pci-table.c | scripts/genksyms/genksyms   -r /dev/null >> /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-pci-table.o.cmd; fi
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-dma.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-mmap.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.c:262:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  262 |             if (NV_ALLOW_CACHING(memory_type))
      |                ^
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.c:264:9: note: here
  264 |         default:
      |         ^~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-mempool.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-gvi.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-instance.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_instance"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.c:13:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.os-registry.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-procfs.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-frontend.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.c:13:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-usermap.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-pat.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-modeset-interface.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_modeset_interface"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-modeset-interface.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-modeset-interface.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-modeset-interface.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-modeset-interface.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-vtophys.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-p2p.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.os-mlock.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.os-pci.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.c:13:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-kthread-q.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_kthread_q"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q.c  
  ./scripts/check-local-export /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q.o
  if nm /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q.o 2>/dev/null | grep -q __ksymtab; then /usr/bin/i686-pld-linux-gcc -E -D__GENKSYMS__ -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-kthread-q.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_kthread_q"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q.c | scripts/genksyms/genksyms   -r /dev/null >> /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-kthread-q.o.cmd; fi
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-chrdev.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.os-interface.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.c: In function ‘os_map_kernel_space’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.c:844:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  844 |             vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
      |                               ^
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.c:844:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  844 |             vaddr = (void *)(((NvU64)vaddr) + offset_in_page);
      |                     ^
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-cray.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-i2c.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-gpu-numa.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.c:24:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.c: In function ‘gather_memblock_ids_for_node’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.c:232:47: warning: cast between incompatible function types from ‘int (*)(struct dir_context *, const char *, int,  loff_t,  u64,  unsigned int)’ {aka ‘int (*)(struct dir_context *, const char *, int,  long long int,  long long unsigned int,  unsigned int)’} to ‘bool (*)(struct dir_context *, const char *, int,  loff_t,  u64,  unsigned int)’ {aka ‘_Bool (*)(struct dir_context *, const char *, int,  long long int,  long long unsigned int,  unsigned int)’} [-Wcast-function-type]
  232 |     nv_dir_context_t ats_ctx = { .ctx.actor = (filldir_t)filldir_get_memblock_id };
      |                                               ^
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-vm.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.c:14:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-acpi.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.c: In function ‘nv_acpi_methods_uninit’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.c:682:25: warning: unused variable ‘device’ [-Wunused-variable]
  682 |     struct acpi_device *device = NULL;
      |                         ^~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.os-usermap.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.c:15:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-kthread-q-selftest.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_kthread_q_selftest"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q-selftest.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q-selftest.c  
  ./scripts/check-local-export /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q-selftest.o
  if nm /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q-selftest.o 2>/dev/null | grep -q __ksymtab; then /usr/bin/i686-pld-linux-gcc -E -D__GENKSYMS__ -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-kthread-q-selftest.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_kthread_q_selftest"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q-selftest.c | scripts/genksyms/genksyms   -r /dev/null >> /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-kthread-q-selftest.o.cmd; fi
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-memdbg.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_memdbg"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.c:12:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.o] Error 1
  /usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/.nv-ibmnpu.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -ffreestanding -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fno-builtin-wcslen -Wno-packed-not-aligned -gsplit-dwarf -g -gz=zlib -DRANDSTRUCT -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-randomize_layout_plugin-performance-mode -fplugin=./scripts/gcc-plugins/stackleak_plugin.so -DSTACKLEAK_PLUGIN -fplugin-arg-stackleak_plugin-track-min-size=100 -fplugin-arg-stackleak_plugin-arch=x86 -std=gnu17 -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -Wno-int-conversion -I/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_ibmnpu"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.o /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.c  
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:21,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.c:27:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: error: implicit declaration of function ‘vm_flags_set’; did you mean ‘nv_vm_flags_set’? [-Wimplicit-function-declaration]
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
      |     nv_vm_flags_set
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: error: implicit declaration of function ‘vm_flags_clear’; did you mean ‘nv_vm_flags_clear’? [-Wimplicit-function-declaration]
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
      |     nv_vm_flags_clear
In file included from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:23:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h: At top level:
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-timer.h:70:19: error: static declaration of ‘timer_delete_sync’ follows non-static declaration
   70 | static inline int timer_delete_sync(struct timer_list *timer)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/mm.h:7,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-pgprot.h:17,
                 from /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:20:
./include/linux/timer.h:185:12: note: previous declaration of ‘timer_delete_sync’ with type ‘int(struct timer_list *)’
  185 | extern int timer_delete_sync(struct timer_list *timer);
      |            ^~~~~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: warning: conflicting types for ‘vm_flags_set’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 1997 | static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:1997:20: error: static declaration of ‘vm_flags_set’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:218:5: note: previous implicit declaration of ‘vm_flags_set’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  218 |     vm_flags_set(vma, flags);
      |     ^~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: warning: conflicting types for ‘vm_flags_clear’; have ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
 2002 | static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
      |                    ^~~~~~~~~~~~~~
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-linux.h:2002:20: error: static declaration of ‘vm_flags_clear’ follows non-static declaration
/tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc/nv-mm.h:229:5: note: previous implicit declaration of ‘vm_flags_clear’ with type ‘void(struct vm_area_struct *, vm_flags_t)’ {aka ‘void(struct vm_area_struct *, long unsigned int)’}
  229 |     vm_flags_clear(vma, flags);
      |     ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.o] Error 1
make[1]: *** [Makefile:2013: /tmp/B.4wpa8crt/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel] Error 2
make: *** [Makefile:81: modules] Error 2
error: Bad exit status from /tmp/B.4wpa8crt/BUILD/tmp/rpm-tmp.Dd7lJc (%build)

RPM build warnings:
    Could not canonicalize hostname: nereid

RPM build errors:
    Bad exit status from /tmp/B.4wpa8crt/BUILD/tmp/rpm-tmp.Dd7lJc (%build)
ended at: Sat Jun 14 13:57:03 2025, done in 0:00:55.329289
error: No files produced.
+ chmod -R u+rwX /tmp/B.4wpa8crt/BUILD
+ rm -rf /tmp/B.4wpa8crt/tmp /tmp/B.4wpa8crt/BUILD
+ rm -rf /tmp/B.4wpa8crt
Begin-PLD-Builder-Info
Build-Time: user:604.24s sys:108.85s real:97.41s (faults io:74 non-io:17426183)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]