[hch-xfs:xfs-crc 32/51] fs/xfs/xfs_ioend.c:37 xfs_ioend_submit_read() warn: bitwise AND condition is false here
kernel test robot <[email protected]>
| 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: ef3d55d014b3a800421b9dae3ac182577bfe2bd7 commit: 379f52bd4b1661b47a36af3e559630fce9f470c4 [32/51] xfs: add a xfs_ioend_read helper :::::: branch date: 16 hours ago :::::: commit date: 18 hours ago config: nios2-randconfig-r071-20260718 (https://download.01.org/0day-ci/archive/20260718/[email protected]/config) compiler: nios2-linux-gcc (GCC) 10.5.0 smatch: v0.5.0-9185-gbcc58b9c 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]/ smatch warnings: fs/xfs/xfs_ioend.c:37 xfs_ioend_submit_read() warn: bitwise AND condition is false here vim +37 fs/xfs/xfs_ioend.c 379f52bd4b1661b Christoph Hellwig 2026-07-07 28 379f52bd4b1661b Christoph Hellwig 2026-07-07 29 void 379f52bd4b1661b Christoph Hellwig 2026-07-07 30 xfs_ioend_submit_read( 379f52bd4b1661b Christoph Hellwig 2026-07-07 31 struct inode *inode, 379f52bd4b1661b Christoph Hellwig 2026-07-07 32 struct bio *bio, 379f52bd4b1661b Christoph Hellwig 2026-07-07 33 loff_t file_offset, 379f52bd4b1661b Christoph Hellwig 2026-07-07 34 const struct iomap *iomap, 379f52bd4b1661b Christoph Hellwig 2026-07-07 35 u16 flags) 379f52bd4b1661b Christoph Hellwig 2026-07-07 36 { 379f52bd4b1661b Christoph Hellwig 2026-07-07 @37 if (iomap->flags & IOMAP_F_INTEGRITY) 379f52bd4b1661b Christoph Hellwig 2026-07-07 38 flags |= IOMAP_IOEND_INTEGRITY; 379f52bd4b1661b Christoph Hellwig 2026-07-07 39 iomap_init_ioend(inode, bio, file_offset, flags); 379f52bd4b1661b Christoph Hellwig 2026-07-07 40 bio->bi_end_io = xfs_end_bio_read; 379f52bd4b1661b Christoph Hellwig 2026-07-07 41 bio_set_flag(bio, BIO_COMPLETE_IN_TASK); 379f52bd4b1661b Christoph Hellwig 2026-07-07 42 submit_bio(bio); d0a5f1a4fad0025 Christoph Hellwig 2026-06-25 43 } d0a5f1a4fad0025 Christoph Hellwig 2026-06-25 44 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki