All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ti:ti-rt-linux-5.4.y 1/1] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock'
Date: Sat, 09 Jan 2021 14:41:03 +0800	[thread overview]
Message-ID: <202101091454.cwmqZpzr-lkp@intel.com> (raw)

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

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 <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

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

                 reply	other threads:[~2021-01-09  6:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202101091454.cwmqZpzr-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.