All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-rt-linux-5.4.y 10/10] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock'
@ 2020-12-09 21:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-09 21:06 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2298 bytes --]

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@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@gmail.com>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

---
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: 22864 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-09 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09 21:06 [ti:ti-rt-linux-5.4.y 10/10] 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.