Am 2016-06-02 um 17:15 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-linux.c:23: /tmp/selfgz2221/NVIDIA-Linux-x86_64-364.19/kernel/nvidia-drm/nvidia-drm-linux.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-linux.c:124:35: note: in expansion of macro ‘current’ pages_pinned = get_user_pages(current, mm,
this is a known problem of 364.19. use 367.18 http://www.nvidia.com/download/driverResults.aspx/102879/en-us or patch 364.19: https://devtalk.nvidia.com/default/topic/926824/linux/364-1-2-5-won-t-compil... -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | *DI Rainer Klier* Research & Development, Technical Sales Consultant -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org