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-20210108 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36) 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 warnings (new ones prefixed by >>): >> drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock' [-Wunused-const-variable] static DEFINE_LOCAL_IRQ_LOCK(send_msg_lock); ^ 1 warning generated. vim +/send_msg_lock +44 drivers/connector/cn_proc.c 9f46080c41d5f3f7 Matt Helsley 2005-11-07 41 cc398c2eae35b13d David S. Miller 2006-01-08 42 /* proc_event_counts is used as the sequence number of the netlink message */ 9f46080c41d5f3f7 Matt Helsley 2005-11-07 43 static DEFINE_PER_CPU(__u32, proc_event_counts) = { 0 }; 78412101a2241094 Mike Galbraith 2016-10-16 @44 static DEFINE_LOCAL_IRQ_LOCK(send_msg_lock); 9f46080c41d5f3f7 Matt Helsley 2005-11-07 45 :::::: The code at line 44 was first introduced by commit :::::: 78412101a22410944389c3bbc954ba97a0f47e0f connector/cn_proc: Protect send_msg() with a local lock on RT :::::: 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