CC: kbuild-...@lists.01.org
CC: linux-e...@vger.kernel.org
TO: Harshad Shirwadkar <harshadshirwad...@gmail.com>
CC: "Theodore Ts'o" <ty...@mit.edu>
CC: Andreas Dilger <adil...@dilger.ca>
CC: Ritesh Harjani <ritesh.l...@gmail.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
head:   21175ca434c5d49509b73cf473618b01b0b85437
commit: f68f4063855903fd3a279e646451eab04db0655f [16/17] ext4: add proc files 
to monitor new structures
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: x86_64-randconfig-s021-20210409 (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/tytso/ext4.git/commit/?id=f68f4063855903fd3a279e646451eab04db0655f
        git remote add ext4 
https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
        git fetch --no-tags ext4 dev
        git checkout f68f4063855903fd3a279e646451eab04db0655f
        # 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 <l...@intel.com>


sparse warnings: (new ones prefixed by >>)
   fs/ext4/mballoc.c:2532:9: sparse: sparse: context imbalance in 
'ext4_mb_good_group_nolock' - different lock contexts for basic block
>> fs/ext4/mballoc.c:2966:13: sparse: sparse: context imbalance in 
>> 'ext4_mb_seq_structs_summary_start' - wrong count at exit
   fs/ext4/mballoc.c:3038:13: sparse: sparse: context imbalance in 
'ext4_mb_seq_structs_summary_stop' - unexpected unlock

vim +/ext4_mb_seq_structs_summary_start +2966 fs/ext4/mballoc.c

a6c75eaf11032f Harshad Shirwadkar 2021-04-01  2965  
f68f4063855903 Harshad Shirwadkar 2021-04-01 @2966  static void 
*ext4_mb_seq_structs_summary_start(struct seq_file *seq, loff_t *pos)
f68f4063855903 Harshad Shirwadkar 2021-04-01  2967  {
f68f4063855903 Harshad Shirwadkar 2021-04-01  2968      struct super_block *sb 
= PDE_DATA(file_inode(seq->file));
f68f4063855903 Harshad Shirwadkar 2021-04-01  2969      unsigned long position;
f68f4063855903 Harshad Shirwadkar 2021-04-01  2970  
f68f4063855903 Harshad Shirwadkar 2021-04-01  2971      
read_lock(&EXT4_SB(sb)->s_mb_rb_lock);
f68f4063855903 Harshad Shirwadkar 2021-04-01  2972  
f68f4063855903 Harshad Shirwadkar 2021-04-01  2973      if (*pos < 0 || *pos >= 
MB_NUM_ORDERS(sb) + 1)
f68f4063855903 Harshad Shirwadkar 2021-04-01  2974              return NULL;
f68f4063855903 Harshad Shirwadkar 2021-04-01  2975      position = *pos + 1;
f68f4063855903 Harshad Shirwadkar 2021-04-01  2976      return (void *) 
((unsigned long) position);
f68f4063855903 Harshad Shirwadkar 2021-04-01  2977  }
f68f4063855903 Harshad Shirwadkar 2021-04-01  2978  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to