tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: 73dbeef4571d1037d5e03374fad31195f60956cf
commit: 3e21cedd503fabd195cf407652bf87fd83e202ac [463/1031] drm/evdi: Add atomic evdi drm
module
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-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
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout 3e21cedd503fabd195cf407652bf87fd83e202ac
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
cc1: warning: include/drm: No such file or directory [-Wmissing-include-dirs]
drivers/gpu/drm/evdi/evdi_gem.c: In function 'evdi_gem_vmap':
drivers/gpu/drm/evdi/evdi_gem.c:181:18: error: implicit declaration of function
'vmap'; did you mean 'kmap'? [-Werror=implicit-function-declaration]
181 | obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
| ^~~~
| kmap
> drivers/gpu/drm/evdi/evdi_gem.c:181:16: warning: assignment to
'void *' from 'int' makes pointer from integer without a cast
[-Wint-conversion]
181 | obj->vmapping = vmap(obj->pages, page_count, 0,
PAGE_KERNEL);
| ^
drivers/gpu/drm/evdi/evdi_gem.c: In function 'evdi_gem_vunmap':
drivers/gpu/drm/evdi/evdi_gem.c:196:3: error: implicit declaration of function
'vunmap'; did you mean 'kunmap'? [-Werror=implicit-function-declaration]
196 | vunmap(obj->vmapping);
| ^~~~~~
| kunmap
cc1: some warnings being treated as errors
vim +181 drivers/gpu/drm/evdi/evdi_gem.c
164
165 int evdi_gem_vmap(struct evdi_gem_object *obj)
166 {
167 int page_count = obj->base.size / PAGE_SIZE;
168 int ret;
169
170 if (obj->base.import_attach) {
171 obj->vmapping = dma_buf_vmap(obj->base.import_attach->dmabuf);
172 if (!obj->vmapping)
173 return -ENOMEM;
174 return 0;
175 }
176
177 ret = evdi_gem_get_pages(obj);
178 if (ret)
179 return ret;
180
181 obj->vmapping = vmap(obj->pages, page_count, 0,
PAGE_KERNEL);
182 if (!obj->vmapping)
183 return -ENOMEM;
184 return 0;
185 }
186
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org