← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1677327] Re: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

 

** Changed in: nvidia-graphics-drivers-340 (Ubuntu)
   Importance: Undecided => High

** Changed in: nvidia-graphics-drivers-340 (Ubuntu)
       Status: New => In Progress

** Changed in: nvidia-graphics-drivers-340 (Ubuntu)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

** Also affects: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: nvidia-graphics-drivers-340 (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1677327

Title:
  dkms build fails with zesty hwe kernel [error: too few arguments to
  function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  In Progress

Bug description:
  ADT test failure against linux-hwe-edge 4.10.0-14.16~16.04.1.

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/amd64/n/nvidia-graphics-drivers-340/20170328_225401_6519b@/log.gz
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/i386/n/nvidia-graphics-drivers-340/20170328_230514_6519b@/log.gz

  We need to backport build fixes for 4.9/4.10 kernels.

  /var/lib/dkms/nvidia-340/340.102/build/os-mlock.c: In function ‘os_lock_user_pages’:
  /var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:50:65: warning: passing argument 4 of ‘NV_GET_USER_PAGES’ makes integer from pointer without a cast [-Wint-conversion]
                               page_count, write ? FOLL_WRITE : 0, user_pages, NULL);
                                                                   ^
  In file included from /var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:15:0:
  /var/lib/dkms/nvidia-340/340.102/build/nv-linux.h:2094:28: note: expected ‘int’ but argument is of type ‘struct page **’
           static inline long NV_GET_USER_PAGES(unsigned long start,
                              ^
  /var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:48:11: error: too few arguments to function ‘NV_GET_USER_PAGES’
       ret = NV_GET_USER_PAGES((unsigned long)address,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions