tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y head: 1c4ef1e41fb51274466edfe7c3ad292490194e1b commit: 1c4ef1e41fb51274466edfe7c3ad292490194e1b [1/1] Merged TI feature ti_linux_base_rt into ti-rt-linux-5.4.y config: x86_64-randconfig-a014-20210323 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08) 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 remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git git fetch --no-tags ti ti-rt-linux-5.4.y git checkout 1c4ef1e41fb51274466edfe7c3ad292490194e1b # 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 All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/gt/intel_engine_pm.c:43:30: error: unused variable 'timeline_lock' [-Werror,-Wunused-const-variable] static DEFINE_LOCAL_IRQ_LOCK(timeline_lock); ^ 1 error generated. vim +/timeline_lock +43 drivers/gpu/drm/i915/gt/intel_engine_pm.c 2e15957cba4c06 Mike Galbraith 2020-02-07 42 2e15957cba4c06 Mike Galbraith 2020-02-07 @43 static DEFINE_LOCAL_IRQ_LOCK(timeline_lock); d67739268cf0ee Chris Wilson 2019-08-19 44 :::::: The code at line 43 was first introduced by commit :::::: 2e15957cba4c069e9fe039111fb70565e95eab3b drm/i915/gt: use a LOCAL_IRQ_LOCK in __timeline_mark_lock() :::::: TO: Mike Galbraith :::::: CC: Sebastian Andrzej Siewior --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org