CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Eric Dumazet <[email protected]>

Hi Eric,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Eric-Dumazet/net-speedup-netns-dismantles/20220208-013735
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
ff62433883b3ab753a78954ecf46e2c514f5c407
:::::: branch date: 6 hours ago
:::::: commit date: 6 hours ago
config: i386-randconfig-m021-20220207 
(https://download.01.org/0day-ci/archive/20220208/[email protected]/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:
net/ipv6/addrconf.c:4303 if6_get_next() warn: ignoring unreachable code.

vim +4303 net/ipv6/addrconf.c

^1da177e4c3f415 Linus Torvalds    2005-04-16  4296  
c2e21293c054817 stephen hemminger 2010-03-17  4297  static struct inet6_ifaddr 
*if6_get_next(struct seq_file *seq,
c2e21293c054817 stephen hemminger 2010-03-17  4298                              
         struct inet6_ifaddr *ifa)
^1da177e4c3f415 Linus Torvalds    2005-04-16  4299  {
^1da177e4c3f415 Linus Torvalds    2005-04-16  4300      struct if6_iter_state 
*state = seq->private;
1218854afa6f659 YOSHIFUJI Hideaki 2008-03-26  4301      struct net *net = 
seq_file_net(seq);
^1da177e4c3f415 Linus Torvalds    2005-04-16  4302  
a5c1d98f8ccf435 Eric Dumazet      2017-10-23 @4303      
hlist_for_each_entry_continue_rcu(ifa, addr_lst) {
1d5783030a14d1b Mihai Maruseac    2012-01-03  4304              state->offset++;
c2e21293c054817 stephen hemminger 2010-03-17  4305              return ifa;
1d5783030a14d1b Mihai Maruseac    2012-01-03  4306      }
3c40090a0f5b69d Daniel Lezcano    2008-01-10  4307  
1d5783030a14d1b Mihai Maruseac    2012-01-03  4308      state->offset = 0;
86f9bd1ff61c413 Jeff Barnhill     2018-09-21  4309      while (++state->bucket 
< IN6_ADDR_HSIZE) {
a5c1d98f8ccf435 Eric Dumazet      2017-10-23  4310              
hlist_for_each_entry_rcu(ifa,
7d7f3230f635f60 Eric Dumazet      2022-02-07  4311                              
     &net->ipv6.inet6_addr_lst[state->bucket], addr_lst) {
c2e21293c054817 stephen hemminger 2010-03-17  4312                      return 
ifa;
c2e21293c054817 stephen hemminger 2010-03-17  4313              }
^1da177e4c3f415 Linus Torvalds    2005-04-16  4314      }
3c40090a0f5b69d Daniel Lezcano    2008-01-10  4315  
c2e21293c054817 stephen hemminger 2010-03-17  4316      return NULL;
^1da177e4c3f415 Linus Torvalds    2005-04-16  4317  }
^1da177e4c3f415 Linus Torvalds    2005-04-16  4318  

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