* [linux-next:master 3817/5794] drivers/gpu/drm/msm/msm_gem.c:1014:10: error: initialization of 'int drm_gem_object struct dma_buf_map from incompatible pointer type 'void COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound tools usr virt drm_gem_object
@ 2020-11-15 0:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-15 0:12 UTC (permalink / raw)
To: Thomas Zimmermann; +Cc: kbuild-all, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3418 bytes --]
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@intel.com>
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@suse.de>
:::::: CC: Thomas Zimmermann <tzimmermann@suse.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53737 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-15 0:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15 0:12 [linux-next:master 3817/5794] drivers/gpu/drm/msm/msm_gem.c:1014:10: error: initialization of 'int drm_gem_object struct dma_buf_map from incompatible pointer type 'void COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound tools usr virt drm_gem_object kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).