CC: [email protected]
In-Reply-To: 
<22bededbd502e0df45326a54b3056941de65a101.1617831474.git....@dxuuu.xyz>
References: 
<22bededbd502e0df45326a54b3056941de65a101.1617831474.git....@dxuuu.xyz>
TO: Daniel Xu <[email protected]>

Hi Daniel,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on bpf-next/master]

url:    
https://github.com/0day-ci/linux/commits/Daniel-Xu/bpf-Add-page-cache-iterator/20210408-054827
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: x86_64-randconfig-m001-20210407 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 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]>

smatch warnings:
kernel/bpf/pagecache_iter.c:29 goto_next_sb() warn: ignoring unreachable code.

vim +29 kernel/bpf/pagecache_iter.c

674847b59009ed Daniel Xu 2021-04-07  22  
674847b59009ed Daniel Xu 2021-04-07  23  static struct super_block 
*goto_next_sb(struct bpf_iter_seq_pagecache_info *info)
674847b59009ed Daniel Xu 2021-04-07  24  {
674847b59009ed Daniel Xu 2021-04-07  25         struct super_block *sb = NULL;
674847b59009ed Daniel Xu 2021-04-07  26         struct radix_tree_iter iter;
674847b59009ed Daniel Xu 2021-04-07  27         void **slot;
674847b59009ed Daniel Xu 2021-04-07  28  
674847b59009ed Daniel Xu 2021-04-07 @29         radix_tree_for_each_slot(slot, 
&info->superblocks, &iter,
674847b59009ed Daniel Xu 2021-04-07  30                                  
((unsigned long)info->cur_sb + 1)) {
674847b59009ed Daniel Xu 2021-04-07  31                 sb = (struct 
super_block *)iter.index;
674847b59009ed Daniel Xu 2021-04-07  32                 break;
674847b59009ed Daniel Xu 2021-04-07  33         }
674847b59009ed Daniel Xu 2021-04-07  34  
674847b59009ed Daniel Xu 2021-04-07  35         info->cur_sb = sb;
674847b59009ed Daniel Xu 2021-04-07  36         info->cur_inode = NULL;
674847b59009ed Daniel Xu 2021-04-07  37         info->cur_page_idx = 0;
674847b59009ed Daniel Xu 2021-04-07  38         return sb;
674847b59009ed Daniel Xu 2021-04-07  39  }
674847b59009ed Daniel Xu 2021-04-07  40  

---
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