All of lore.kernel.org
 help / color / mirror / Atom feed
* [ebiggers:wip-fscrypt 19/21] fs/f2fs/data.c:319 f2fs_read_end_io() warn: bitwise AND condition is false here
@ 2026-06-29 12:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-29 12:38 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

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

Hi Eric,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git wip-fscrypt
head:   c3f49d50cb21c9bd84b8edf3696683d18bc6b6e2
commit: b44cdc6b5de2dfd1b6bc6249caf72d781027c93e [19/21] fscrypt: Remove unused functions and workqueue
:::::: branch date: 18 hours ago
:::::: commit date: 18 hours ago
config: powerpc-randconfig-r072-20260629 (https://download.01.org/0day-ci/archive/20260629/202606292015.dnvCZRdA-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 8.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/202606292015.dnvCZRdA-lkp@intel.com/

New smatch warnings:
fs/f2fs/data.c:319 f2fs_read_end_io() warn: bitwise AND condition is false here

Old smatch warnings:
fs/f2fs/data.c:243 f2fs_verify_and_finish_bio() warn: bitwise AND condition is false here
fs/f2fs/data.c:296 f2fs_post_read_work() warn: bitwise AND condition is false here

vim +319 fs/f2fs/data.c

6dbb17961f46b2 Eric Biggers            2018-04-18  301  
6dbb17961f46b2 Eric Biggers            2018-04-18  302  static void f2fs_read_end_io(struct bio *bio)
6dbb17961f46b2 Eric Biggers            2018-04-18  303  {
0f54eec0cb8988 Matthew Wilcox (Oracle  2025-07-08  304) 	struct f2fs_sb_info *sbi = F2FS_F_SB(bio_first_folio_all(bio));
a4b6817625e71d Daeho Jeong             2021-08-20  305  	struct bio_post_read_ctx *ctx;
08a7efc5b02a06 Jan Prusakowski         2025-07-24  306  	bool intask = in_task() && !irqs_disabled();
a4b6817625e71d Daeho Jeong             2021-08-20  307  
d9bac032ac0de8 Yangtao Li              2023-02-01  308  	iostat_update_and_unbind_ctx(bio);
a4b6817625e71d Daeho Jeong             2021-08-20  309  	ctx = bio->bi_private;
c45d6002ff7a32 Chao Yu                 2019-11-01  310  
c40e15a9a59f79 Yangtao Li              2022-12-21  311  	if (time_to_inject(sbi, FAULT_READ_IO))
4e4cbee93d5613 Christoph Hellwig       2017-06-03  312  		bio->bi_status = BLK_STS_IOERR;
8b038c70dfe4fd Chao Yu                 2016-09-18  313  
68e7f31eecf1d6 Chao Yu                 2025-05-23  314  	if (bio->bi_status != BLK_STS_OK) {
bff139b49d9f70 Daeho Jeong             2022-08-02  315  		f2fs_finish_read_bio(bio, intask);
4375a33664de17 Jaegeuk Kim             2015-04-23  316  		return;
4375a33664de17 Jaegeuk Kim             2015-04-23  317  	}
4375a33664de17 Jaegeuk Kim             2015-04-23  318  
df5305d38262e2 Eric Biggers            2026-06-28 @319  	if (ctx && (ctx->enabled_steps & STEP_DECOMPRESS)) {
df5305d38262e2 Eric Biggers            2026-06-28  320  		if (!f2fs_low_mem_mode(sbi)) {
df5305d38262e2 Eric Biggers            2026-06-28  321  			/* Decompress inline. */
bff139b49d9f70 Daeho Jeong             2022-08-02  322  			f2fs_handle_step_decompress(ctx, intask);
df5305d38262e2 Eric Biggers            2026-06-28  323  		} else {
7f59b277f79e8a Eric Biggers            2021-01-04  324  			INIT_WORK(&ctx->work, f2fs_post_read_work);
7ba36a9ea81c01 Bart Van Assche         2026-06-10  325  			queue_work(ctx->sbi->wq, &ctx->work);
bff139b49d9f70 Daeho Jeong             2022-08-02  326  			return;
7f59b277f79e8a Eric Biggers            2021-01-04  327  		}
f1e8866016b53b Jaegeuk Kim             2015-04-09  328  	}
f1e8866016b53b Jaegeuk Kim             2015-04-09  329  
bff139b49d9f70 Daeho Jeong             2022-08-02  330  	f2fs_verify_and_finish_bio(bio, intask);
f1e8866016b53b Jaegeuk Kim             2015-04-09  331  }
f1e8866016b53b Jaegeuk Kim             2015-04-09  332  

:::::: The code at line 319 was first introduced by commit
:::::: df5305d38262e2b0184687897a4bd98a1bef3c5e f2fs: Remove fs-layer file contents en/decryption code

:::::: TO: Eric Biggers <ebiggers@kernel.org>
:::::: CC: Eric Biggers <ebiggers@kernel.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29 12:38 [ebiggers:wip-fscrypt 19/21] fs/f2fs/data.c:319 f2fs_read_end_io() warn: bitwise AND condition is false here kernel test robot

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.