340.108
Andreas Beckmann
anbe at debian.org
Sat Dec 28 13:26:51 GMT 2019
nvidia finally made another (and probably final) release from the 340 legacy branch.
But of course it does not work with (our) 5.4 kernel:
/usr/src/modules/nvidia-kernel/uvm/nvidia_uvm_lite.c: At top level:
/usr/src/modules/nvidia-kernel/uvm/nvidia_uvm_lite.c:876:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
876 | .fault = _fault,
| ^~~~~~
/usr/src/modules/nvidia-kernel/uvm/nvidia_uvm_lite.c:876:14: note: (near initialization for 'uvmlite_vma_ops.fault')
/usr/src/modules/nvidia-kernel/uvm/nvidia_uvm_lite.c:910:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
910 | .fault = _sigbus_fault,
| ^~~~~~~~~~~~~
/usr/src/modules/nvidia-kernel/uvm/nvidia_uvm_lite.c:910:14: note: (near initialization for 'counters_vma_ops.fault')
cc1: some warnings being treated as errors
Andreas
More information about the pkg-nvidia-devel
mailing list