CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Josef Bacik <[email protected]>
CC: David Sterba <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   034307507118f7e1b18f8403c85af2216da2dc94
commit: fac2f60d5fe83fd45ee08a85c2eb7a09659edbe3 [2252/6356] btrfs: switch 
extent buffer tree lock to rw_semaphore
:::::: branch date: 4 hours ago
:::::: commit date: 2 weeks ago
config: xtensa-randconfig-s032-20201116 (attached as .config)
compiler: xtensa-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-107-gaf3512a6-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fac2f60d5fe83fd45ee08a85c2eb7a09659edbe3
        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 fac2f60d5fe83fd45ee08a85c2eb7a09659edbe3
        # 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=xtensa 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


"sparse warnings: (new ones prefixed by >>)"
   fs/btrfs/locking.c: note: in included file (through include/linux/rculist.h, 
include/linux/pid.h, include/linux/sched.h):
>> include/linux/rcupdate.h:757:9: sparse: sparse: context imbalance in 
>> '__btrfs_tree_lock' - wrong count at exit
   fs/btrfs/locking.c:227:6: sparse: sparse: context imbalance in 
'btrfs_tree_lock' - wrong count at exit

vim +/__btrfs_tree_lock +757 include/linux/rcupdate.h

1eba8f84380bede Paul E. McKenney  2009-09-23  753  
1eba8f84380bede Paul E. McKenney  2009-09-23  754  /* Used by lockdep and 
tracing: cannot be traced, cannot call lockdep. */
7c614d6461399ac Paul E. McKenney  2009-08-24  755  static inline notrace void 
rcu_read_lock_sched_notrace(void)
d6714c22b43fbcb Paul E. McKenney  2009-08-22  756  {
d6714c22b43fbcb Paul E. McKenney  2009-08-22 @757       
preempt_disable_notrace();
bc33f24bdca8b6e Paul E. McKenney  2009-08-22  758       __acquire(RCU_SCHED);
d6714c22b43fbcb Paul E. McKenney  2009-08-22  759  }
1c50b728c3e7341 Mathieu Desnoyers 2008-09-29  760  

:::::: The code at line 757 was first introduced by commit
:::::: d6714c22b43fbcbead7e7b706ff270e15f04a791 rcu: Renamings to increase RCU 
clarity

:::::: TO: Paul E. McKenney <[email protected]>
:::::: CC: Ingo Molnar <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to