[hch-xfs:xfs-crc 20/59] fs/xfs/xfs_ioend.c:28 xfs_end_io_read() warn: bitwise AND condition is false here
kernel test robot <[email protected]> Sun, 26 Jul 2026 09:41:40 +0800
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
BCC: [email protected] CC: [email protected] TO: Christoph Hellwig <[email protected]> tree: git://git.infradead.org/users/hch/xfs xfs-crc head: 10c7aa6f2c85085eec34737be592d6ae69583782 commit: 5ca814cfff91f77e81966416c9d00673f0f29ebb [20/59] iomap,xfs: move integrity verification to the file system :::::: branch date: 2 days ago :::::: commit date: 2 days ago config: x86_64-randconfig-161-20260725 (https://download.01.org/0day-ci/archive/20260726/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 smatch: v0.5.0-9187-g5189e3fb If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Reported-by: Dan Carpenter <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ New smatch warnings: fs/xfs/xfs_ioend.c:28 xfs_end_io_read() warn: bitwise AND condition is false here Old smatch warnings: fs/xfs/xfs_ioend.c:42 xfs_ioend_submit_read() warn: bitwise AND condition is false here vim +28 fs/xfs/xfs_ioend.c 8870db508b563d Christoph Hellwig 2026-07-22 20 8870db508b563d Christoph Hellwig 2026-07-22 21 static void 8870db508b563d Christoph Hellwig 2026-07-22 22 xfs_end_io_read( 8870db508b563d Christoph Hellwig 2026-07-22 23 struct bio *bio) 8870db508b563d Christoph Hellwig 2026-07-22 24 { 8870db508b563d Christoph Hellwig 2026-07-22 25 struct iomap_ioend *ioend = iomap_ioend_from_bio(bio); 8870db508b563d Christoph Hellwig 2026-07-22 26 int error = blk_status_to_errno(bio->bi_status); 8870db508b563d Christoph Hellwig 2026-07-22 27 5ca814cfff91f7 Christoph Hellwig 2026-07-22 @28 if (!error && (ioend->io_flags & IOMAP_IOEND_INTEGRITY)) 5ca814cfff91f7 Christoph Hellwig 2026-07-22 29 error = iomap_ioend_integrity_verify(ioend); 5ca814cfff91f7 Christoph Hellwig 2026-07-22 30 8870db508b563d Christoph Hellwig 2026-07-22 31 iomap_finish_ioends(ioend, error); 8870db508b563d Christoph Hellwig 2026-07-22 32 } 8870db508b563d Christoph Hellwig 2026-07-22 33 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki