So the reason I decided to check for kernel version instead of
CONFIG_UIDGID_STRICT_TYPE_CHECKS was for possible future proofing. If
the kernel in the future fragments with yet another config option for
kuid_t, they would likely implement another __kuid_val function for
that, and the patch would still work. Granted, we aren't guaranteed that
something else won't break in a kernel API change, so it probably
doesn't matter.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331-updates in
Ubuntu.
https://bugs.launchpad.net/bugs/1252664

Title:
  nvidia-331-uvm 331.20-0ubuntu1: nvidia-331-uvm kernel module failed to
  build [error: incompatible types when assigning to type ‘uid_t’ from
  type ‘kuid_t’]

Status in “nvidia-graphics-drivers-331-updates” package in Ubuntu:
  Fix Released

Bug description:
  Retry to install that package after having upgraded the apport package 
(dpkg-divert 'not found' fix)
  and got that problem.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: nvidia-331-uvm 331.20-0ubuntu1
  ProcVersionSignature: Ubuntu 3.12.0-2.7-generic 3.12.0
  Uname: Linux 3.12.0-2-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.7-0ubuntu1
  Architecture: i386
  DKMSKernelVersion: 3.12.0-2-generic
  Date: Tue Nov 19 10:12:54 2013
  DuplicateSignature: 
dkms:nvidia-331-uvm:331.20-0ubuntu1:/var/lib/dkms/nvidia-331-uvm/331.20/build/nvidia_uvm_lite.c:1326:37:
 error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
  InstallationDate: Installed on 2013-10-25 (24 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
  PackageVersion: 331.20-0ubuntu1
  SourcePackage: nvidia-graphics-drivers-331
  Title: nvidia-331-uvm 331.20-0ubuntu1: nvidia-331-uvm kernel module failed to 
build
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to