All of lore.kernel.org
 help / color / mirror / Atom feed
* include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_test' - unexpected unlock
@ 2020-07-29 17:58 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-29 17:58 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6ba1b005ffc388c2aeaddae20da29e4810dea298
commit: f66ee0410b1c3481ee75e5db9b34547b4d582465 netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports
date:   5 months ago
config: m68k-randconfig-s031-20200729 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-97-gee4aea9a-dirty
        git checkout f66ee0410b1c3481ee75e5db9b34547b4d582465
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   net/netfilter/ipset/ip_set_core.c: note: in included file (through include/linux/seqlock.h, include/linux/time.h, include/linux/stat.h, ...):
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_test' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_add' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_del' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_flush_set' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'call_ad' - unexpected unlock

vim +/ip_set_test +383 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  380  
3490565b633c70 Denys Vlasenko  2015-07-13  381  static __always_inline void spin_unlock_bh(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  382  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @383  	raw_spin_unlock_bh(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  384  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  385  

:::::: The code at line 383 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33102 bytes --]

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

* include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_test' - unexpected unlock
@ 2020-07-29 17:58 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-29 17:58 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6ba1b005ffc388c2aeaddae20da29e4810dea298
commit: f66ee0410b1c3481ee75e5db9b34547b4d582465 netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports
date:   5 months ago
config: m68k-randconfig-s031-20200729 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-97-gee4aea9a-dirty
        git checkout f66ee0410b1c3481ee75e5db9b34547b4d582465
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   net/netfilter/ipset/ip_set_core.c: note: in included file (through include/linux/seqlock.h, include/linux/time.h, include/linux/stat.h, ...):
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_test' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_add' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_del' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_flush_set' - unexpected unlock
>> include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'call_ad' - unexpected unlock

vim +/ip_set_test +383 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  380  
3490565b633c70 Denys Vlasenko  2015-07-13  381  static __always_inline void spin_unlock_bh(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  382  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @383  	raw_spin_unlock_bh(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  384  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  385  

:::::: The code at line 383 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@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: 33102 bytes --]

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

end of thread, other threads:[~2020-07-29 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 17:58 include/linux/spinlock.h:383:9: sparse: sparse: context imbalance in 'ip_set_test' - unexpected unlock kernel test robot
2020-07-29 17:58 ` 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.