Comment 0 for bug 1694496

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

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.