** Description changed:
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.
+
+ Actually using -Werror=incompatible-pointer-types to build our kernel
+ seems like a good idea. Is there a reason we're not doing it?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1694496
Title:
ubuntu/i915: incompatible pointer types
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1694496/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs