CC: [email protected]
TO: Eric Biggers <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git 
f2fs-pending
head:   aeb93524ba64a28e6b885e9b328854aab093b987
commit: aeb93524ba64a28e6b885e9b328854aab093b987 [2/2] f2fs: clean up post-read 
processing
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
config: x86_64-randconfig-m001-20201229 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

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

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

vim +289 fs/f2fs/data.c

6dbb17961f46b2e Eric Biggers      2018-04-18  273  
6dbb17961f46b2e Eric Biggers      2018-04-18  274  static void 
f2fs_read_end_io(struct bio *bio)
6dbb17961f46b2e Eric Biggers      2018-04-18  275  {
c45d6002ff7a322 Chao Yu           2019-11-01  276       struct f2fs_sb_info 
*sbi = F2FS_P_SB(bio_first_page_all(bio));
aeb93524ba64a28 Eric Biggers      2020-12-28  277       struct 
bio_post_read_ctx *ctx = bio->bi_private;
c45d6002ff7a322 Chao Yu           2019-11-01  278  
c45d6002ff7a322 Chao Yu           2019-11-01  279       if (time_to_inject(sbi, 
FAULT_READ_IO)) {
c45d6002ff7a322 Chao Yu           2019-11-01  280               
f2fs_show_injection_info(sbi, FAULT_READ_IO);
4e4cbee93d56137 Christoph Hellwig 2017-06-03  281               bio->bi_status 
= BLK_STS_IOERR;
55523519bc7227e Chao Yu           2017-02-25  282       }
8b038c70dfe4fd7 Chao Yu           2016-09-18  283  
aeb93524ba64a28 Eric Biggers      2020-12-28  284       if (bio->bi_status) {
aeb93524ba64a28 Eric Biggers      2020-12-28  285               
f2fs_finish_read_bio(bio);
4375a33664de17a Jaegeuk Kim       2015-04-23  286               return;
4375a33664de17a Jaegeuk Kim       2015-04-23  287       }
4375a33664de17a Jaegeuk Kim       2015-04-23  288  
aeb93524ba64a28 Eric Biggers      2020-12-28 @289       if (ctx && 
(ctx->enabled_steps & (STEP_DECRYPT | STEP_DECOMPRESS))) {
aeb93524ba64a28 Eric Biggers      2020-12-28  290               
INIT_WORK(&ctx->work, f2fs_post_read_work);
aeb93524ba64a28 Eric Biggers      2020-12-28  291               
queue_work(ctx->sbi->post_read_wq, &ctx->work);
aeb93524ba64a28 Eric Biggers      2020-12-28  292       } else {
aeb93524ba64a28 Eric Biggers      2020-12-28  293               
f2fs_verify_and_finish_bio(bio);
aeb93524ba64a28 Eric Biggers      2020-12-28  294       }
f1e8866016b53bd Jaegeuk Kim       2015-04-09  295  }
f1e8866016b53bd Jaegeuk Kim       2015-04-09  296  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to