CC: [email protected]
TO: Coly Li <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git 
nvdimm-meta
head:   722ffe14d3ec1009a9245b0f0ba49805643d92bb
commit: 722ffe14d3ec1009a9245b0f0ba49805643d92bb [16/16] bcache: more fix for 
compiling error when BCACHE_NVM_PAGES disabled
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: i386-randconfig-s002-20210408 (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/colyli/linux-bcache.git/commit/?id=722ffe14d3ec1009a9245b0f0ba49805643d92bb
        git remote add bcache 
https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git
        git fetch --no-tags bcache nvdimm-meta
        git checkout 722ffe14d3ec1009a9245b0f0ba49805643d92bb
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

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


sparse warnings: (new ones prefixed by >>)
   drivers/md/bcache/journal.c: note: in included file (through 
drivers/md/bcache/bcache.h):
   include/uapi/linux/bcache.h:362:38: sparse: sparse: array of flexible 
structures
   drivers/md/bcache/journal.c: note: in included file (through 
drivers/md/bcache/bcache.h):
   drivers/md/bcache/bset.h:231:36: sparse: sparse: array of flexible structures
   drivers/md/bcache/journal.c:875:17: sparse: sparse: context imbalance in 
'journal_write_unlocked' - unexpected unlock
>> drivers/md/bcache/journal.c:904:13: sparse: sparse: context imbalance in 
>> 'journal_write' - wrong count at exit
   drivers/md/bcache/journal.c:920:9: sparse: sparse: context imbalance in 
'journal_try_write' - different lock contexts for basic block

vim +/journal_write +904 drivers/md/bcache/journal.c

cafe563591446c Kent Overstreet 2013-03-23  903  
cafe563591446c Kent Overstreet 2013-03-23 @904  static void 
journal_write(struct closure *cl)
cafe563591446c Kent Overstreet 2013-03-23  905  {
7857d5d470ec53 Kent Overstreet 2013-10-08  906          struct cache_set *c = 
container_of(cl, struct cache_set, journal.io);
cafe563591446c Kent Overstreet 2013-03-23  907  
cafe563591446c Kent Overstreet 2013-03-23  908          
spin_lock(&c->journal.lock);
cafe563591446c Kent Overstreet 2013-03-23  909          
journal_write_unlocked(cl);
cafe563591446c Kent Overstreet 2013-03-23  910  }
cafe563591446c Kent Overstreet 2013-03-23  911  

:::::: The code at line 904 was first introduced by commit
:::::: cafe563591446cf80bfbc2fe3bc72a2e36cf1060 bcache: A block layer cache

:::::: TO: Kent Overstreet <[email protected]>
:::::: CC: Kent Overstreet <[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