All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 11646/13159] include/linux/spinlock.h:399:9: sparse: sparse: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock
@ 2020-10-03 21:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-03 21:53 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
TO: Rohit Maheshwari <rohitm@chelsio.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2172e358cd1713c5b7c31361ac465edfe55e455c
commit: efca3878a5fbda8d847bd4afb7ccf48b62876d48 [11646/13159] ch_ktls: Issue if connection offload fails
:::::: branch date: 2 days ago
:::::: commit date: 4 days 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/next/linux-next.git/commit/?id=efca3878a5fbda8d847bd4afb7ccf48b62876d48
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout efca3878a5fbda8d847bd4afb7ccf48b62876d48
        # 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/chelsio/inline_crypto/ch_ktls/chcr_ktls.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/mm.h, include/linux/bvec.h, ...):
>> include/linux/spinlock.h:399:9: sparse: sparse: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock

vim +/chcr_ktls_dev_add +399 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  396  
3490565b633c70 Denys Vlasenko  2015-07-13  397  static __always_inline void spin_unlock_bh(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  398  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @399  	raw_spin_unlock_bh(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  400  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  401  

:::::: The code at line 399 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: 30488 bytes --]

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

only message in thread, other threads:[~2020-10-03 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03 21:53 [linux-next:master 11646/13159] include/linux/spinlock.h:399:9: sparse: sparse: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock 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.