tree:
https://github.com/0day-ci/linux/commits/UPDATE-20200618-145747/Andrey-Le...
head: e9a08efdc84d44872ee7eb3dc5cc0c6913b30568
commit: e9a08efdc84d44872ee7eb3dc5cc0c6913b30568 [1/1] drm/lima: Expose job_hang_limit
module parameter
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout e9a08efdc84d44872ee7eb3dc5cc0c6913b30568
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/lima/lima_drv.c:22:6: error: redefinition of
'lima_job_hang_limit' with a different type: 'uint' (aka 'unsigned
int') vs 'int'
uint lima_job_hang_limit;
^
drivers/gpu/drm/lima/lima_drv.h:14:12: note: previous declaration is here
extern int lima_job_hang_limit;
^
drivers/gpu/drm/lima/lima_drv.c:389:13: warning: cast to smaller integer type 'enum
lima_gpu_id' from 'const void *' [-Wvoid-pointer-to-enum-cast]
ldev->id = (enum lima_gpu_id)of_device_get_match_data(&pdev->dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +22 drivers/gpu/drm/lima/lima_drv.c
18
19 int lima_sched_timeout_ms;
20 uint lima_heap_init_nr_pages = 8;
21 uint lima_max_error_tasks;
22 uint lima_job_hang_limit;
23
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org