
Am Donnerstag, 2. Juni 2016, 17:15:51 schrieb Michal Hlavac:
I can't compile latest 364.19 driver with kernel 4.6
from /tmp/selfgz2221/NVIDIA-Linux-x86_64-364.19/kernel/nvidia-drm/nvidia-drm-lin ux.c:23: /tmp/selfgz2221/NVIDIA-Linux-x86_64-364.19/kernel/nvidia-drm/nvidia-drm-lin ux.c: In function ‘nvidia_drm_lock_user_pages’: /usr/src/linux-4.6.0-1/arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion] #define current get_current() ^ /tmp/selfgz2221/NVIDIA-Linux-x86_64-364.19/kernel/nvidia-drm/nvidia-drm-linu x.c:124:35: note: in expansion of macro ‘current’ pages_pinned = get_user_pages(current, mm, ^
Have a look at <https://devtalk.nvidia.com/default/topic/926824/364-1-2-5-won-t-compile-against-latest-kernel-git-tree-patches-for-4-6-0-rc3-included-/?offset=26> The patches proposed there work for me with the 4.6 kernel from kernel stable repo. To find such patches you may have a look at <http://rglinuxtech.com/> -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org