Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1258744

Re: [PATCHv2] xfrm: dst_entries_init() per-net dst_ops

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCHv2] xfrm: dst_entries_init() per-net dst_ops
Date 2015-10-29 13:00 +0100
Message-ID <qoU25-89o-3@gated-at.bofh.it> (permalink)
References <qoTIJ-82i-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Dan,

[auto build test WARNING on ipsec/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Dan-Streetman/xfrm-dst_entries_init-per-net-dst_ops/20151029-193245
config: x86_64-randconfig-x019-201543 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/xfrm/xfrm_policy.c: In function 'xfrm_policy_register_afinfo':
>> net/xfrm/xfrm_policy.c:2810:14: warning: unused variable 'net' [-Wunused-variable]
     struct net *net;
                 ^

vim +/net +2810 net/xfrm/xfrm_policy.c

ebb762f27 Steffen Klassert 2011-11-23  2794  static unsigned int xfrm_mtu(const struct dst_entry *dst)
d33e45533 David S. Miller  2010-12-14  2795  {
618f9bc74 Steffen Klassert 2011-11-23  2796  	unsigned int mtu = dst_metric_raw(dst, RTAX_MTU);
618f9bc74 Steffen Klassert 2011-11-23  2797  
618f9bc74 Steffen Klassert 2011-11-23  2798  	return mtu ? : dst_mtu(dst->path);
d33e45533 David S. Miller  2010-12-14  2799  }
d33e45533 David S. Miller  2010-12-14  2800  
f894cbf84 David S. Miller  2012-07-02  2801  static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst,
f894cbf84 David S. Miller  2012-07-02  2802  					   struct sk_buff *skb,
f894cbf84 David S. Miller  2012-07-02  2803  					   const void *daddr)
d3aaeb38c David S. Miller  2011-07-18  2804  {
f894cbf84 David S. Miller  2012-07-02  2805  	return dst->path->ops->neigh_lookup(dst, skb, daddr);
d3aaeb38c David S. Miller  2011-07-18  2806  }
d3aaeb38c David S. Miller  2011-07-18  2807  
^1da177e4 Linus Torvalds   2005-04-16  2808  int xfrm_policy_register_afinfo(struct xfrm_policy_afinfo *afinfo)
^1da177e4 Linus Torvalds   2005-04-16  2809  {
d7c7544c3 Alexey Dobriyan  2010-01-24 @2810  	struct net *net;
^1da177e4 Linus Torvalds   2005-04-16  2811  	int err = 0;
^1da177e4 Linus Torvalds   2005-04-16  2812  	if (unlikely(afinfo == NULL))
^1da177e4 Linus Torvalds   2005-04-16  2813  		return -EINVAL;
^1da177e4 Linus Torvalds   2005-04-16  2814  	if (unlikely(afinfo->family >= NPROTO))
^1da177e4 Linus Torvalds   2005-04-16  2815  		return -EAFNOSUPPORT;
ef8531b64 Eric Dumazet     2012-08-19  2816  	spin_lock(&xfrm_policy_afinfo_lock);
^1da177e4 Linus Torvalds   2005-04-16  2817  	if (unlikely(xfrm_policy_afinfo[afinfo->family] != NULL))
f31e8d4f7 Li RongQing      2015-04-23  2818  		err = -EEXIST;

:::::: The code at line 2810 was first introduced by commit
:::::: d7c7544c3d5f59033d1bf3236bc7b289f5f26b75 netns xfrm: deal with dst entries in netns

:::::: TO: Alexey Dobriyan <adobriyan@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] xfrm: dst_entries_init() per-net dst_ops dan.streetman@canonical.com - 2015-10-27 17:20 +0100
  Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops Dan Streetman <dan.streetman@canonical.com> - 2015-10-28 14:40 +0100
    Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops Hannes Frederic Sowa <hannes@stressinduktion.org> - 2015-10-28 14:50 +0100
      Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops Dan Streetman <dan.streetman@canonical.com> - 2015-10-28 16:10 +0100
    Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops David Miller <davem@davemloft.net> - 2015-10-28 15:00 +0100
  [PATCHv2] xfrm: dst_entries_init() per-net dst_ops Dan Streetman <dan.streetman@canonical.com> - 2015-10-29 12:40 +0100
    Re: [PATCHv2] xfrm: dst_entries_init() per-net dst_ops kbuild test robot <lkp@intel.com> - 2015-10-29 13:00 +0100
      Re: [PATCHv2] xfrm: dst_entries_init() per-net dst_ops Dan Streetman <dan.streetman@canonical.com> - 2015-10-29 14:50 +0100
    [PATCHv3] xfrm: dst_entries_init() per-net dst_ops Dan Streetman <dan.streetman@canonical.com> - 2015-10-29 15:00 +0100

csiph-web