* [dhowells-fs:fscache-cache-2 83/84] fs/fscache/cache.c:252:13: sparse: sparse: context imbalance in 'fscache_caches_seq_start' - wrong count at exit
@ 2021-04-01 18:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-01 18:13 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3344 bytes --]
CC: kbuild-all(a)lists.01.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-cache-2
head: 8c0dade745a9bacc037c10f7fb0f1900738ebd47
commit: 62b8b745edb02283b51525fd6a7a1a74f5144ea6 [83/84] fscache: Overhaul the index
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: x86_64-randconfig-s021-20210401 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-279-g6d5d9b42-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=62b8b745edb02283b51525fd6a7a1a74f5144ea6
git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-cache-2
git checkout 62b8b745edb02283b51525fd6a7a1a74f5144ea6
# 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 >>)
fs/fscache/cache.c:87:6: sparse: sparse: symbol 'fscache_get_cache' was not declared. Should it be static?
>> fs/fscache/cache.c:252:13: sparse: sparse: context imbalance in 'fscache_caches_seq_start' - wrong count at exit
>> fs/fscache/cache.c:264:13: sparse: sparse: context imbalance in 'fscache_caches_seq_stop' - wrong count at exit
--
>> fs/fscache/volume.c:373:13: sparse: sparse: context imbalance in 'fscache_volumes_seq_start' - wrong count at exit
>> fs/fscache/volume.c:385:13: sparse: sparse: context imbalance in 'fscache_volumes_seq_stop' - wrong count at exit
vim +/fscache_caches_seq_start +252 fs/fscache/cache.c
4c515dd47ab41b David Howells 2009-04-03 251
62b8b745edb022 David Howells 2021-03-18 @252 static void *fscache_caches_seq_start(struct seq_file *m, loff_t *_pos)
62b8b745edb022 David Howells 2021-03-18 253 __acquires(fscache_caches_lock)
4c515dd47ab41b David Howells 2009-04-03 254 {
62b8b745edb022 David Howells 2021-03-18 255 down_read(&fscache_addremove_sem);
62b8b745edb022 David Howells 2021-03-18 256 return seq_list_start_head(&fscache_caches, *_pos);
62b8b745edb022 David Howells 2021-03-18 257 }
4c515dd47ab41b David Howells 2009-04-03 258
62b8b745edb022 David Howells 2021-03-18 259 static void *fscache_caches_seq_next(struct seq_file *m, void *v, loff_t *_pos)
62b8b745edb022 David Howells 2021-03-18 260 {
62b8b745edb022 David Howells 2021-03-18 261 return seq_list_next(v, &fscache_caches, _pos);
62b8b745edb022 David Howells 2021-03-18 262 }
4c515dd47ab41b David Howells 2009-04-03 263
62b8b745edb022 David Howells 2021-03-18 @264 static void fscache_caches_seq_stop(struct seq_file *m, void *v)
62b8b745edb022 David Howells 2021-03-18 265 __releases(rcu)
62b8b745edb022 David Howells 2021-03-18 266 {
62b8b745edb022 David Howells 2021-03-18 267 up_read(&fscache_addremove_sem);
4c515dd47ab41b David Howells 2009-04-03 268 }
62b8b745edb022 David Howells 2021-03-18 269
---
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: 41700 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-01 18:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 18:13 [dhowells-fs:fscache-cache-2 83/84] fs/fscache/cache.c:252:13: sparse: sparse: context imbalance in 'fscache_caches_seq_start' - wrong count at exit 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.