tree:
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: 39a31e930c9ef3b4f39306c49cbaa9c58c94e353
commit: 39a31e930c9ef3b4f39306c49cbaa9c58c94e353 [10/10] Merged TI feature
ti_linux_base_rt into ti-rt-linux-5.4.y
config: arm-randconfig-r015-20201210 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
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 39a31e930c9ef3b4f39306c49cbaa9c58c94e353
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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 >>):
> 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
9f46080c41d5f3 Matt Helsley 2005-11-07 41
cc398c2eae35b1 David S. Miller 2006-01-08 42 /* proc_event_counts is used as the
sequence number of the netlink message */
9f46080c41d5f3 Matt Helsley 2005-11-07 43 static DEFINE_PER_CPU(__u32,
proc_event_counts) = { 0 };
78412101a22410 Mike Galbraith 2016-10-16 @44 static
DEFINE_LOCAL_IRQ_LOCK(send_msg_lock);
9f46080c41d5f3 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 <umgwanakikbuti(a)gmail.com>
:::::: CC: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org