Public bug reported: The ubuntu-xenial kernel doesn't compile if you use -Werror =incompatible-pointer-types. This seems to be due to ubuntu/i915, though it's possible there are others. For example, in ubuntu/i915/i915_gem_dmabuf.c, the signatures of the functions handed off to dma_buf_ops's begin_cpu_access and end_cpu_access don't match those expected in the struct. This seems like a recipe for undefined behavior.
** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1694496 Title: ubuntu/i915: incompatible pointer types Status in linux package in Ubuntu: Incomplete Bug description: The ubuntu-xenial kernel doesn't compile if you use -Werror =incompatible-pointer-types. This seems to be due to ubuntu/i915, though it's possible there are others. For example, in ubuntu/i915/i915_gem_dmabuf.c, the signatures of the functions handed off to dma_buf_ops's begin_cpu_access and end_cpu_access don't match those expected in the struct. This seems like a recipe for undefined behavior. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1694496/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp