[Cluster-devel] [gfs2:for-next.bob6b 5/12] include/asm-generic/atomic.h:142:1: sparse: sparse: context imbalance in 'gfs2_remove_from_journal' - different lock contexts for basic block
kernel test robot
lkp at intel.com
Sat Aug 1 22:23:49 UTC 2020
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.bob6b
head: 8aef3eb9d3f560027f23e9690d0eca9427ba520d
commit: 338462527fad3a08cda656c2cc2f44d9ae319e42 [5/12] gfs2: Wipe jdata and ail1 in gfs2_journal_wipe, formerly gfs2_meta_wipe
config: c6x-randconfig-s032-20200802 (attached as .config)
compiler: c6x-elf-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-115-g5fc204f2-dirty
git checkout 338462527fad3a08cda656c2cc2f44d9ae319e42
# 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=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
sparse warnings: (new ones prefixed by >>)
fs/gfs2/meta_io.c: note: in included file (through arch/c6x/include/generated/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/lock.h, ...):
>> include/asm-generic/atomic.h:142:1: sparse: sparse: context imbalance in 'gfs2_remove_from_journal' - different lock contexts for basic block
vim +/gfs2_remove_from_journal +142 include/asm-generic/atomic.h
28aa2bda2211f43 Peter Zijlstra 2016-04-18 140
56d1defe0bbddaa Peter Zijlstra 2015-07-15 141 #ifndef atomic_and
560cb12a4080a48 Peter Zijlstra 2014-04-23 @142 ATOMIC_OP(and, &)
56d1defe0bbddaa Peter Zijlstra 2015-07-15 143 #endif
56d1defe0bbddaa Peter Zijlstra 2015-07-15 144
:::::: The code at line 142 was first introduced by commit
:::::: 560cb12a4080a48b84da8b96878cafbd193c4d64 locking,arch: Rewrite generic atomic support
:::::: TO: Peter Zijlstra <peterz at infradead.org>
:::::: CC: Ingo Molnar <mingo at kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 22329 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20200802/b53b2520/attachment.gz>
More information about the Cluster-devel
mailing list