All of lore.kernel.org
 help / color / mirror / Atom feed
* include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock
@ 2020-07-30 12:13 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-07-30 12:13 UTC (permalink / raw)
  To: Marek Vasut; +Cc: kbuild-all, linux-kernel, Andrew Lunn

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   83bdc7275e6206f560d247be856bceba3e1ed8f2
commit: 797047f875b5463719cc70ba213eb691d453c946 net: ks8851: Implement Parallel bus operations
date:   9 weeks ago
config: arm-randconfig-s031-20200730 (attached as .config)
compiler: arm-linux-gnueabi-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-98-g4932334a-dirty
        git checkout 797047f875b5463719cc70ba213eb691d453c946
        # 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=arm 

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

   drivers/net/ethernet/micrel/ks8851_par.c:64:13: sparse: sparse: context imbalance in 'ks8851_lock_par' - wrong count at exit
   drivers/net/ethernet/micrel/ks8851_par.c: note: in included file (through include/linux/seqlock.h, include/linux/time.h, include/linux/ktime.h, ...):
>> include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock

vim +/ks8851_unlock_par +408 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  405  
3490565b633c70 Denys Vlasenko  2015-07-13  406  static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  407  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @408  	raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  409  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  410  

:::::: The code at line 408 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: 30913 bytes --]

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

* include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock
@ 2020-07-30 12:13 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-07-30 12:13 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   83bdc7275e6206f560d247be856bceba3e1ed8f2
commit: 797047f875b5463719cc70ba213eb691d453c946 net: ks8851: Implement Parallel bus operations
date:   9 weeks ago
config: arm-randconfig-s031-20200730 (attached as .config)
compiler: arm-linux-gnueabi-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-98-g4932334a-dirty
        git checkout 797047f875b5463719cc70ba213eb691d453c946
        # 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=arm 

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

   drivers/net/ethernet/micrel/ks8851_par.c:64:13: sparse: sparse: context imbalance in 'ks8851_lock_par' - wrong count at exit
   drivers/net/ethernet/micrel/ks8851_par.c: note: in included file (through include/linux/seqlock.h, include/linux/time.h, include/linux/ktime.h, ...):
>> include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock

vim +/ks8851_unlock_par +408 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  405  
3490565b633c70 Denys Vlasenko  2015-07-13  406  static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  407  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @408  	raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  409  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  410  

:::::: The code at line 408 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: 30913 bytes --]

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

* include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock
@ 2020-11-28  5:13 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-11-28  5:13 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Marek Vasut <marex@denx.de>
CC: Andrew Lunn <andrew@lunn.ch>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c84e1efae022071a4fcf9f1899bf71777c49943a
commit: 797047f875b5463719cc70ba213eb691d453c946 net: ks8851: Implement Parallel bus operations
date:   6 months ago
:::::: branch date: 6 hours ago
:::::: commit date: 6 months ago
config: x86_64-randconfig-s032-20201128 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-151-g540c2c4b-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=797047f875b5463719cc70ba213eb691d453c946
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 797047f875b5463719cc70ba213eb691d453c946
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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 >>)"
   drivers/net/ethernet/micrel/ks8851_par.c:64:13: sparse: sparse: context imbalance in 'ks8851_lock_par' - wrong count at exit
   drivers/net/ethernet/micrel/ks8851_par.c: note: in included file (through include/linux/seqlock.h, include/linux/time.h, include/linux/ktime.h, ...):
>> include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock

vim +/ks8851_unlock_par +408 include/linux/spinlock.h

c2f21ce2e31286a Thomas Gleixner 2009-12-02  405  
3490565b633c705 Denys Vlasenko  2015-07-13  406  static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286a Thomas Gleixner 2009-12-02  407  {
c2f21ce2e31286a Thomas Gleixner 2009-12-02 @408  	raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286a Thomas Gleixner 2009-12-02  409  }
c2f21ce2e31286a Thomas Gleixner 2009-12-02  410  

:::::: The code at line 408 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: 41667 bytes --]

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

* include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock
@ 2020-10-27 10:53 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-10-27 10:53 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Marek Vasut <marex@denx.de>
CC: Andrew Lunn <andrew@lunn.ch>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4525c8781ec0701ce824e8bd379ae1b129e26568
commit: 797047f875b5463719cc70ba213eb691d453c946 net: ks8851: Implement Parallel bus operations
date:   5 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 5 months ago
config: powerpc-randconfig-s031-20201027 (attached as .config)
compiler: powerpc-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.3-56-gc09e8239-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=797047f875b5463719cc70ba213eb691d453c946
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 797047f875b5463719cc70ba213eb691d453c946
        # 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=powerpc 

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 >>)"
   drivers/net/ethernet/micrel/ks8851_par.c:64:13: sparse: sparse: context imbalance in 'ks8851_lock_par' - wrong count at exit
   drivers/net/ethernet/micrel/ks8851_par.c: note: in included file (through include/linux/irq.h, arch/powerpc/include/asm/hardirq.h, include/linux/hardirq.h, ...):
>> include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock

vim +/ks8851_unlock_par +408 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  405  
3490565b633c70 Denys Vlasenko  2015-07-13  406  static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  407  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @408  	raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  409  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  410  

:::::: The code at line 408 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: 29108 bytes --]

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

* include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock
@ 2020-10-03 19:06 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-10-03 19:06 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Marek Vasut <marex@denx.de>
CC: Andrew Lunn <andrew@lunn.ch>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d3d45f8220d60a0b2aaaacf8fb2be4e6ffd9008e
commit: 797047f875b5463719cc70ba213eb691d453c946 net: ks8851: Implement Parallel bus operations
date:   4 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 4 months ago
config: sparc-randconfig-s031-20201004 (attached as .config)
compiler: sparc64-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-201-g24bdaac6-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=797047f875b5463719cc70ba213eb691d453c946
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 797047f875b5463719cc70ba213eb691d453c946
        # 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=sparc 

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

	echo
	echo "sparse warnings: (new ones prefixed by >>)"
	echo
   drivers/net/ethernet/micrel/ks8851_par.c:64:13: sparse: sparse: context imbalance in 'ks8851_lock_par' - wrong count at exit
   drivers/net/ethernet/micrel/ks8851_par.c: note: in included file (through include/linux/seqlock.h, include/linux/time.h, include/linux/ktime.h, ...):
>> include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock

vim +/ks8851_unlock_par +408 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  405  
3490565b633c70 Denys Vlasenko  2015-07-13  406  static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  407  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @408  	raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  409  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  410  

:::::: The code at line 408 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: 29514 bytes --]

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

end of thread, other threads:[~2020-11-28  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 12:13 include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ks8851_unlock_par' - unexpected unlock kernel test robot
2020-07-30 12:13 ` kernel test robot
2020-10-03 19:06 kernel test robot
2020-10-27 10:53 kernel test robot
2020-11-28  5:13 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.