All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/preempt-rt 15/16] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock'
@ 2021-06-10 14:42 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-10 14:42 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   2046457bf9f4a420f69e915453d59db5b38edbaa
commit: 3c3f9863f8b96ccbf6fd420c93f1685f6085651a [15/16] Merge tag 'lts-v5.4.58-yocto-200825T002733Z' into lts2019/yocto-rt
config: powerpc64-randconfig-r034-20210610 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d2012d965d60c3258b3a69d024491698f8aec386)
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 powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://github.com/intel/linux-intel-lts/commit/3c3f9863f8b96ccbf6fd420c93f1685f6085651a
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 5.4/preempt-rt
        git checkout 3c3f9863f8b96ccbf6fd420c93f1685f6085651a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

   In file included from drivers/connector/cn_proc.c:11:
   In file included from include/linux/kernel.h:11:
   In file included from include/linux/compiler.h:256:
   arch/powerpc/include/asm/barrier.h:47:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:309:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock' [-Wunused-const-variable]
   static DEFINE_LOCAL_IRQ_LOCK(send_msg_lock);
                                ^
   2 warnings generated.
--
   In file included from fs/squashfs/decompressor_multi_percpu.c:8:
   In file included from include/linux/slab.h:15:
   In file included from include/linux/gfp.h:5:
   In file included from include/linux/mmdebug.h:5:
   In file included from include/linux/bug.h:5:
   In file included from arch/powerpc/include/asm/bug.h:120:
   In file included from include/asm-generic/bug.h:5:
   In file included from include/linux/compiler.h:256:
   arch/powerpc/include/asm/barrier.h:47:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:309:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> fs/squashfs/decompressor_multi_percpu.c:27:30: warning: unused variable 'stream_lock' [-Wunused-const-variable]
   static DEFINE_LOCAL_IRQ_LOCK(stream_lock);
                                ^
   2 warnings generated.
--
   In file included from mm/zswap.c:16:
   In file included from include/linux/module.h:9:
   In file included from include/linux/list.h:9:
   In file included from include/linux/kernel.h:11:
   In file included from include/linux/compiler.h:256:
   arch/powerpc/include/asm/barrier.h:47:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:309:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> mm/zswap.c:376:30: warning: unused variable 'zswap_cpu_lock' [-Wunused-const-variable]
   static DEFINE_LOCAL_IRQ_LOCK(zswap_cpu_lock);
                                ^
   2 warnings 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: 33224 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [intel-linux-intel-lts:5.4/preempt-rt 15/16] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock'
@ 2021-02-02 16:09 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-02-02 16:09 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   2046457bf9f4a420f69e915453d59db5b38edbaa
commit: 3c3f9863f8b96ccbf6fd420c93f1685f6085651a [15/16] Merge tag 'lts-v5.4.58-yocto-200825T002733Z' into lts2019/yocto-rt
config: powerpc64-randconfig-r004-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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 powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://github.com/intel/linux-intel-lts/commit/3c3f9863f8b96ccbf6fd420c93f1685f6085651a
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 5.4/preempt-rt
        git checkout 3c3f9863f8b96ccbf6fd420c93f1685f6085651a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-10 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 14:42 [intel-linux-intel-lts:5.4/preempt-rt 15/16] drivers/connector/cn_proc.c:44:30: warning: unused variable 'send_msg_lock' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-02-02 16:09 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.