All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: [hch-misc:iomap-read-submit-bio 2/3] fs/iomap/bio.c:87 iomap_bio_submit_read_endio() warn: bitwise AND condition is false here
Date: Wed, 24 Jun 2026 11:05:56 +0800	[thread overview]
Message-ID: <202606241035.5HSfVWfm-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Christoph Hellwig <hch@lst.de>

tree:   git://git.infradead.org/users/hch/misc.git iomap-read-submit-bio
head:   ab994a4e103a93169f4765bda3aec003e085e8f5
commit: 06936fbbb2a3169efb61903db1f63db815ac334e [2/3] iomap: consolidate bio submission
:::::: branch date: 20 hours ago
:::::: commit date: 20 hours ago
config: xtensa-randconfig-r073-20260624 (https://download.01.org/0day-ci/archive/20260624/202606241035.5HSfVWfm-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 9.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 <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202606241035.5HSfVWfm-lkp@intel.com/

New smatch warnings:
fs/iomap/bio.c:87 iomap_bio_submit_read_endio() warn: bitwise AND condition is false here

Old smatch warnings:
fs/iomap/internal.h:15 iomap_max_bio_size() warn: bitwise AND condition is false here
fs/iomap/bio.c:177 iomap_bio_read_folio_range_sync() warn: bitwise AND condition is false here
fs/iomap/bio.c:180 iomap_bio_read_folio_range_sync() warn: bitwise AND condition is false here

vim +87 fs/iomap/bio.c

f621324dfb3d67 Darrick J. Wong   2026-03-23  80  
06936fbbb2a316 Christoph Hellwig 2026-06-23  81  void iomap_bio_submit_read_endio(const struct iomap_iter *iter,
06936fbbb2a316 Christoph Hellwig 2026-06-23  82  		struct iomap_read_folio_ctx *ctx, bio_end_io_t end_io)
c2b1adc4624573 Christoph Hellwig 2025-09-25  83  {
c2b1adc4624573 Christoph Hellwig 2025-09-25  84  	struct bio *bio = ctx->read_ctx;
c2b1adc4624573 Christoph Hellwig 2025-09-25  85  
06936fbbb2a316 Christoph Hellwig 2026-06-23  86  	bio->bi_end_io = end_io;
0b10a370529cbd Christoph Hellwig 2026-02-23 @87  	if (iter->iomap.flags & IOMAP_F_INTEGRITY)
0b10a370529cbd Christoph Hellwig 2026-02-23  88  		fs_bio_integrity_alloc(bio);
c2b1adc4624573 Christoph Hellwig 2025-09-25  89  	submit_bio(bio);
c2b1adc4624573 Christoph Hellwig 2025-09-25  90  }
06936fbbb2a316 Christoph Hellwig 2026-06-23  91  EXPORT_SYMBOL_GPL(iomap_bio_submit_read_endio);
06936fbbb2a316 Christoph Hellwig 2026-06-23  92  

:::::: The code at line 87 was first introduced by commit
:::::: 0b10a370529cbd7b918c1eef43d409e43d9e0b78 iomap: support T10 protection information

:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Christian Brauner <brauner@kernel.org>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-24  3:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202606241035.5HSfVWfm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=error27@gmail.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.