CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Andrew Morton <[email protected]>
CC: Linux Memory Management List <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   2d3d8c7643a56bfe2e808f97d5a4360d49f3b45b
commit: 457432443d41104c22b07af9b1db0175e7ab04b7 [3382/3941] 
remove-bdi_congested-and-wb_congested-and-related-functions-fix
:::::: branch date: 17 hours ago
:::::: commit date: 2 days ago
config: nios2-randconfig-m031-20220130 
(https://download.01.org/0day-ci/archive/20220204/[email protected]/config)
compiler: nios2-linux-gcc (GCC) 11.2.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/nilfs2/segbuf.c:358 nilfs_segbuf_submit_bio() warn: ignoring unreachable 
code.

Old smatch warnings:
arch/nios2/include/asm/thread_info.h:71 current_thread_info() error: 
uninitialized symbol 'sp'.

vim +358 fs/nilfs2/segbuf.c

64b5a32e0b3680 Ryusuke Konishi    2009-04-06  338  
9284ad2a9016ad Ryusuke Konishi    2009-11-25  339  static int 
nilfs_segbuf_submit_bio(struct nilfs_segment_buffer *segbuf,
b2d4586627ad26 Mike Christie      2016-06-05  340                               
   struct nilfs_write_info *wi, int mode,
b2d4586627ad26 Mike Christie      2016-06-05  341                               
   int mode_flags)
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  342  {
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  343       struct bio *bio = 
wi->bio;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  344       int err;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  345  
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  346       bio->bi_end_io = 
nilfs_end_bio_write;
9284ad2a9016ad Ryusuke Konishi    2009-11-25  347       bio->bi_private = 
segbuf;
b2d4586627ad26 Mike Christie      2016-06-05  348       bio_set_op_attrs(bio, 
mode, mode_flags);
4e49ea4a3d2763 Mike Christie      2016-06-05  349       submit_bio(bio);
4bf93b50fd0411 Vyacheslav Dubeyko 2013-08-22  350       segbuf->sb_nbio++;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  351  
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  352       wi->bio = NULL;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  353       wi->rest_blocks -= 
wi->end - wi->start;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  354       wi->nr_vecs = 
min(wi->max_pages, wi->rest_blocks);
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  355       wi->start = wi->end;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  356       return 0;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  357  
64b5a32e0b3680 Ryusuke Konishi    2009-04-06 @358       wi->bio = NULL;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  359       return err;
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  360  }
64b5a32e0b3680 Ryusuke Konishi    2009-04-06  361  

:::::: The code at line 358 was first introduced by commit
:::::: 64b5a32e0b3680a9655b3f2e668a646068e71d33 nilfs2: segment buffer

:::::: TO: Ryusuke Konishi <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to