Hi Lukas,

FYI, there are new smatch warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git test
head:   ac15e0ef8030228b98ee2dd4322510e5987fceae
commit: 99950cfa591ea073c85798191a1701025e4c65ce [39/40] ext4: Introduce 
FALLOC_FL_ZERO_RANGE flag for fallocate

New smatch warnings:
fs/ext4/extents.c:3647 ext4_split_convert_extents() warn: suspicious bitop 
condition
fs/ext4/extents.c:3650 ext4_split_convert_extents() warn: suspicious bitop 
condition

Old smatch warnings:
fs/ext4/extents.c:5296 ext4_ext_shift_extents() error: 'path' dereferencing 
possible ERR_PTR()

git remote add ext4 git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
git remote update ext4
git checkout 99950cfa591ea073c85798191a1701025e4c65ce
vim +3647 fs/ext4/extents.c

667eff35 Yongqiang Yang 2011-05-03  3641        depth = ext_depth(inode);
667eff35 Yongqiang Yang 2011-05-03  3642        ex = path[depth].p_ext;
667eff35 Yongqiang Yang 2011-05-03  3643        ee_block = 
le32_to_cpu(ex->ee_block);
667eff35 Yongqiang Yang 2011-05-03  3644        ee_len = 
ext4_ext_get_actual_len(ex);
0031462b Mingming Cao   2009-09-28  3645  
99950cfa Lukas Czerner  2014-03-16  3646        /* Convert to unwritten */
99950cfa Lukas Czerner  2014-03-16 @3647        if (flags | 
EXT4_GET_BLOCKS_CONVERT_UNWRITTEN) {
99950cfa Lukas Czerner  2014-03-16  3648                split_flag |= 
EXT4_EXT_DATA_VALID1;
99950cfa Lukas Czerner  2014-03-16  3649        /* Convert to initialized */
99950cfa Lukas Czerner  2014-03-16 @3650        } else if (flags | 
EXT4_GET_BLOCKS_CONVERT) {
99950cfa Lukas Czerner  2014-03-16  3651                split_flag |= ee_block 
+ ee_len <= eof_block ?
99950cfa Lukas Czerner  2014-03-16  3652                              
EXT4_EXT_MAY_ZEROOUT : 0;
99950cfa Lukas Czerner  2014-03-16  3653                split_flag |= 
(EXT4_EXT_MARK_UNINIT2 & EXT4_EXT_DATA_VALID2);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to