* [linux-rt-devel:linux-5.4.y-rt 246/325] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock'
@ 2020-10-08 11:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-08 11:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2007 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.4.y-rt
head: 5fbf1e70f11dba64cc05c9d85120a3aa7c67a4a2
commit: 78412101a22410944389c3bbc954ba97a0f47e0f [246/325] connector/cn_proc: Protect send_msg() with a local lock on RT
config: x86_64-randconfig-r014-20201008 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8da0df3d6dcc0dd42740be60b0da4ec201190904)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=78412101a22410944389c3bbc954ba97a0f47e0f
git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags linux-rt-devel linux-5.4.y-rt
git checkout 78412101a22410944389c3bbc954ba97a0f47e0f
# 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@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
41
42 /* proc_event_counts is used as the sequence number of the netlink message */
43 static DEFINE_PER_CPU(__u32, proc_event_counts) = { 0 };
> 44 static DEFINE_LOCAL_IRQ_LOCK(send_msg_lock);
45
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28973 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-08 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 11:55 [linux-rt-devel:linux-5.4.y-rt 246/325] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.