Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/msm_gem.c:1014:10: error: initialization of 'int (*)(struct drm_gem_object *, struct dma_buf_map *)' from incompatible pointer type 'void * (*)(struct drm_gem_object *)' [-Werror=incompatible-pointer-types] 1014 | .vmap = msm_gem_prime_vmap, | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_gem.c:1014:10: note: (near initialization for 'msm_gem_object_funcs.vmap') drivers/gpu/drm/msm/msm_gem.c:1015:12: error: initialization of 'void (*)(struct drm_gem_object *, struct dma_buf_map *)' from incompatible pointer type 'void (*)(struct drm_gem_object *, void *)' [-Werror=incompatible-pointer-types] 1015 | .vunmap = msm_gem_prime_vunmap, | ^~~~~~~~~~~~~~~~~~~~ Caused by commit 49a3f51dfeee ("drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends") interacting with commit 3c9edd9c85f5 ("drm/msm: Introduce GEM object funcs") from the drm tree. I tried reverting commit 3c9edd9c85f5 (as 49a3f51dfeee does not revert cleanly) but that just produced more errors, so I have disabled CONFIG_DRM_MSM for now. -- Cheers, Stephen Rothwell
Attachment:
pgpY4XizIdKFz.pgp
Description: OpenPGP digital signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel