1 |
Hi all, |
2 |
|
3 |
After an update to the kernel 4.7.0, I ran into these problems with |
4 |
the NVIDIA drivers: http://rglinuxtech.com/?p=1746 : |
5 |
|
6 |
........../home/rgadsdon/kernel/NVIDIA-Linux-x86_64-367.18/kernel/nvidia-uvm/uvm_linux.h:557:13: |
7 |
error: redefinition of ‘radix_tree_empty’ static bool |
8 |
radix_tree_empty(struct radix_tree_root |
9 |
*tree)................................../home/rgadsdon/kernel/NVIDIA-Linux-x86_64-367.18/kernel/nvidia-drm/nvidia-drm-gem.c: |
10 |
In function ‘nvidia_drm_dumb_map_offset’:/home/rgadsdon/kernel/NVIDIA-Linux-x86_64-367.18/kernel/nvidia-drm/nvidia-drm-gem.c:411:33: |
11 |
error: passing argument 1 of ‘drm_gem_object_lookup’ from incompatible |
12 |
pointer type [-Werror=incompatible-pointer-types] gem = |
13 |
drm_gem_object_lookup(dev, file, handle);........................ |
14 |
|
15 |
|
16 |
I applied the attached patch unconditionally locally, and it seems to work. |
17 |
Which is correct way to apply the patch or not depending on the kernel version? |
18 |
|
19 |
|
20 |
Best regards, |
21 |
|
22 |
Natanael. |