fs/xfs/xfs_aops.c:665 xfs_zoned_writeback_submit() 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] CC: [email protected] TO: Christoph Hellwig <[email protected]> CC: Christian Brauner <[email protected]> CC: "Darrick J. Wong" <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cb8a75eec0877810b50aa1c5a833f929525cd2ee commit: 6bbb4d96f797d42d4baef1691a27a62275727146 xfs: support T10 protection information date: 5 months ago :::::: branch date: 26 hours ago :::::: commit date: 5 months ago config: hexagon-randconfig-r071-20260821 (https://download.01.org/0day-ci/archive/20260821/[email protected]/config) compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) 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 | Fixes: 6bbb4d96f797 ("xfs: support T10 protection information") | 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_aops.c:665 xfs_zoned_writeback_submit() warn: bitwise AND condition is false here vim +665 fs/xfs/xfs_aops.c fb7399cf2d0b33 Christoph Hellwig 2025-07-10 651 058dd70c65ab73 Christoph Hellwig 2025-02-13 652 static int f4fa7981fa26c6 Christoph Hellwig 2025-07-10 653 xfs_zoned_writeback_submit( 058dd70c65ab73 Christoph Hellwig 2025-02-13 654 struct iomap_writepage_ctx *wpc, f4fa7981fa26c6 Christoph Hellwig 2025-07-10 655 int error) 058dd70c65ab73 Christoph Hellwig 2025-02-13 656 { f4fa7981fa26c6 Christoph Hellwig 2025-07-10 657 struct iomap_ioend *ioend = wpc->wb_ctx; f4fa7981fa26c6 Christoph Hellwig 2025-07-10 658 f4fa7981fa26c6 Christoph Hellwig 2025-07-10 659 ioend->io_bio.bi_end_io = xfs_end_bio; f4fa7981fa26c6 Christoph Hellwig 2025-07-10 660 if (error) { f4fa7981fa26c6 Christoph Hellwig 2025-07-10 661 ioend->io_bio.bi_status = errno_to_blk_status(error); f4fa7981fa26c6 Christoph Hellwig 2025-07-10 662 bio_endio(&ioend->io_bio); f4fa7981fa26c6 Christoph Hellwig 2025-07-10 663 return error; f4fa7981fa26c6 Christoph Hellwig 2025-07-10 664 } 6bbb4d96f797d4 Christoph Hellwig 2026-02-23 @665 if (wpc->iomap.flags & IOMAP_F_INTEGRITY) 6bbb4d96f797d4 Christoph Hellwig 2026-02-23 666 fs_bio_integrity_generate(&ioend->io_bio); f4fa7981fa26c6 Christoph Hellwig 2025-07-10 667 xfs_zone_alloc_and_submit(ioend, &XFS_ZWPC(wpc)->open_zone); 058dd70c65ab73 Christoph Hellwig 2025-02-13 668 return 0; 058dd70c65ab73 Christoph Hellwig 2025-02-13 669 } 058dd70c65ab73 Christoph Hellwig 2025-02-13 670 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki