Nice catch. While we're at it, instead of checking the kernel version, we can simply do #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS and use __kuid_val (which in turn only does "return uid.val")
** Changed in: nvidia-graphics-drivers-331-updates (Ubuntu) Status: Fix Released => In Progress ** Changed in: nvidia-graphics-drivers-331-updates (Ubuntu) Assignee: (unassigned) => Alberto Milone (albertomilone) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331-updates/+bug/1252664/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs