[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006021203.hh90Z7PZ%lkp@intel.com>
Date: Tue, 2 Jun 2020 12:48:07 +0800
From: kbuild test robot <lkp@...el.com>
To: "Will, Deacon," <will@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>
Subject: include/linux/compiler.h:199:9: sparse: sparse: context imbalance in
'alua_rtpg' - different lock contexts for basic block
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f359287765c04711ff54fbd11645271d8e5ff763
commit: fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca locking/refcount: Consolidate implementations of refcount_t
date: 6 months ago
config: ia64-randconfig-s032-20200602 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca
# save the attached .config to linux build tree
make W=1 C=1 ARCH=ia64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> include/linux/compiler.h:199:9: sparse: sparse: context imbalance in 'alua_rtpg' - different lock contexts for basic block
vim +/alua_rtpg +199 include/linux/compiler.h
d976441f44bc5d4 Andrey Ryabinin 2015-10-19 195
d976441f44bc5d4 Andrey Ryabinin 2015-10-19 196 static __always_inline
d976441f44bc5d4 Andrey Ryabinin 2015-10-19 197 void __read_once_size(const volatile void *p, void *res, int size)
230fa253df6352a Christian Borntraeger 2014-11-25 198 {
d976441f44bc5d4 Andrey Ryabinin 2015-10-19 @199 __READ_ONCE_SIZE;
230fa253df6352a Christian Borntraeger 2014-11-25 200 }
d976441f44bc5d4 Andrey Ryabinin 2015-10-19 201
:::::: The code at line 199 was first introduced by commit
:::::: d976441f44bc5d48635d081d277aa76556ffbf8b compiler, atomics, kasan: Provide READ_ONCE_NOCHECK()
:::::: TO: Andrey Ryabinin <aryabinin@...tuozzo.com>
:::::: CC: Ingo Molnar <mingo@...nel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (29943 bytes)
Powered by blists - more mailing lists