Thanks Dan for reporting this. On 11/6/19 1:55 PM, Dan Carpenter wrote:
Hello Ritesh Harjani, The patch c8cc88163f40: "ext4: Add support for blocksize < pagesize in dioread_nolock" from Oct 16, 2019, leads to the following static checker warning: fs/ext4/inode.c:2390 mpage_process_page() error: 'io_end_vec' dereferencing possible ERR_PTR() fs/ext4/inode.c:2557 mpage_map_and_submit_extent() error: 'io_end_vec' dereferencing possible ERR_PTR() fs/ext4/inode.c:3677 ext4_end_io_dio() error: 'io_end_vec' dereferencing possible ERR_PTR()
ext4_end_io_dio func is removed on recent ext4 master branch. It got removed in ext4 iomap DIO patches. So my patch (which is based on today's ext4 master branch) does not covers for ext4_end_io_dio(). -ritesh