Powered by Real Programmer. Your IP: 18.97.14.81 | Toc:- error 1
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.o] Error 1
- error 7
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.o] Error 1
- error 13
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.o] Error 1
- error 19
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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 25
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.o] Error 1
- error 31
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.o] Error 1
- error 37
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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:251: /tmp/B.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.o] Error 1
- error 43
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.o] Error 1
- error 49
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.o] Error 1
- error 55
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.o] Error 1
- error 61
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.o] Error 1
- error 67
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.o] Error 1
- error 73
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.o] Error 1
- error 85
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.o] Error 1
- error 91
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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 97
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.o] Error 1
- error 103
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.o] Error 1
- error 109
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.o] Error 1
- error 115
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.o] Error 1
- error 121
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.o] Error 1
- error 127
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.o] Error 1
- error 133
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.o] Error 1
- error 139
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.o] Error 1
- error 145
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.o] Error 1
- error 151
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/tmp/rpm-tmp.rkUegm (%build)
- error 159
RPM build errors:
- error 160
error: No files produced.
Content: CONFTEST: drm_dev_put
CONFTEST: unsafe_follow_pfn
CONFTEST: acpi_bus_get_device
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: drm_gem_object_get
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: proc_dir_entry
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: acpi_device_ops
CONFTEST: pm_message_t
CONFTEST: sg_alloc_table
CONFTEST: task_struct
CONFTEST: acpi_op_remove
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: sg_table
CONFTEST: strnstr
CONFTEST: irq_handler_t
CONFTEST: kuid_t
CONFTEST: kstrtoull
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_present
CONFTEST: scatterlist
CONFTEST: timeval
CONFTEST: i2c_adapter
CONFTEST: pci_save_state
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: file_inode
CONFTEST: register_acpi_notifier
CONFTEST: dma_ops
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: dma_map_ops
CONFTEST: mm_has_mmap_lock
CONFTEST: get_user_pages
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: sysfs_slab_unlink
CONFTEST: kernel_write
CONFTEST: vm_fault_present
CONFTEST: drm_gem_prime_export_has_dev_arg
CONFTEST: swiotlb_dma_ops
CONFTEST: iterate_dir
CONFTEST: proc_ops
CONFTEST: vm_fault_has_address
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: kref_has_refcount_of_type_refcount_t
CONFTEST: drm_driver_has_device_list
CONFTEST: pci_dev_has_skip_bus_pm
CONFTEST: drm_gem_object_lookup
CONFTEST: vm_operations_struct
CONFTEST: drm_driver_prime_flag_present
CONFTEST: dom0_kernel_present
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: file_operations
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: backlight_properties_type
CONFTEST: list_cut_position
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: dma_resv_add_fence
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: vm_fault_t
CONFTEST: pci_channel_state
CONFTEST: drm_device_has_pdev
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_date
CONFTEST: dma_resv_reserve_fences
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_available
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_output_poll_changed
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_connector_list_iter
CONFTEST: drm_init_function_args
CONFTEST: drm_atomic_available
/usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pci-table.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-acpi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-pat.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-cray.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gpu-numa.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-procfs.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-instance.c:13:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vtophys.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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:251: /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-kthread-q.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-gvi.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-dma.o] Error 1
/usr/bin/i686-pld-linux-gcc -Wp,-MMD,/tmp/B.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-vm.c:14:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-usermap.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-usermap.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-p2p.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-chrdev.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-i2c.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-modeset-interface.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-mlock.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mempool.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-frontend.c:13:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-pci.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-registry.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/os-interface.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv.c:13:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-memdbg.c:12:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-mmap.c:15:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/common/inc -I/tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.o /tmp/B.w80923ur/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.w80923ur/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.w80923ur/BUILD/xorg-driver-video-nvidia-legacy-390xx-kernel-390.157-build/NVIDIA-Linux-x86-390.157/kernel/nvidia/nv-ibmnpu.c:27:
/tmp/B.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/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.w80923ur/BUILD/tmp/rpm-tmp.rkUegm (%build)
RPM build warnings:
Could not canonicalize hostname: nereid
RPM build errors:
Bad exit status from /tmp/B.w80923ur/BUILD/tmp/rpm-tmp.rkUegm (%build)
ended at: Sat Jun 14 14:21:44 2025, done in 0:00:56.536813
error: No files produced.
+ chmod -R u+rwX /tmp/B.w80923ur/BUILD
+ rm -rf /tmp/B.w80923ur/tmp /tmp/B.w80923ur/BUILD
+ rm -rf /tmp/B.w80923ur
Begin-PLD-Builder-Info
Build-Time: user:603.62s sys:111.10s real:99.05s (faults io:60 non-io:17426187)
End-PLD-Builder-Info
|
|