tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 92edc4aef86780a8ad01b092c6d6630bb3cb423d commit: 49a3f51dfeeecb52c5aa28c5cb9592fe5e39bf95 [3817/5794] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends config: arm-defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=49a3f51dfeeecb52c5aa28c5cb9592fe5e39bf95 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 49a3f51dfeeecb52c5aa28c5cb9592fe5e39bf95 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> Note: the linux-next/master HEAD 92edc4aef86780a8ad01b092c6d6630bb3cb423d builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> 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, | ^~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_gem.c:1015:12: note: (near initialization for 'msm_gem_object_funcs.vunmap') cc1: some warnings being treated as errors vim +1014 drivers/gpu/drm/msm/msm_gem.c 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1008 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1009 static const struct drm_gem_object_funcs msm_gem_object_funcs = { 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1010 .free = msm_gem_free_object, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1011 .pin = msm_gem_prime_pin, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1012 .unpin = msm_gem_prime_unpin, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1013 .get_sg_table = msm_gem_prime_get_sg_table, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 @1014 .vmap = msm_gem_prime_vmap, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 @1015 .vunmap = msm_gem_prime_vunmap, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1016 .vm_ops = &vm_ops, 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1017 }; 3c9edd9c85f53e Thomas Zimmermann 2020-09-23 1018 :::::: The code at line 1014 was first introduced by commit :::::: 3c9edd9c85f53e047dad867da63e54e78e6f7b6d drm/msm: Introduce GEM object funcs :::::: TO: Thomas Zimmermann <tzimmermann@xxxxxxx> :::::: CC: Thomas Zimmermann <tzimmermann@xxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip