[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201611050717.OhE0UFfe%fengguang.wu@intel.com>
Date: Sat, 5 Nov 2016 08:01:18 +0800
From: kbuild test robot <lkp@...el.com>
To: Pravin B Shelar <pshelar@....org>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Pravin B Shelar <pshelar@....org>
Subject: Re: [PATCH net-next 5/7] vxlan: simplify RTF_LOCAL handling.
Hi Pravin,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Pravin-B-Shelar/vxlan-General-improvements/20161105-060958
config: i386-randconfig-x077-201644 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/net/vxlan.c: In function 'vxlan_group_used':
drivers/net/vxlan.c:947:21: warning: unused variable 'sock6' [-Wunused-variable]
struct vxlan_sock *sock6 = NULL;
^~~~~
drivers/net/vxlan.c: In function 'check_route_rtf_local':
>> drivers/net/vxlan.c:1954:17: error: 'RTF_LOCAL' undeclared (first use in this function)
if (rt_flags & RTF_LOCAL &&
^~~~~~~~~
drivers/net/vxlan.c:1954:17: note: each undeclared identifier is reported only once for each function it appears in
vim +/RTF_LOCAL +1954 drivers/net/vxlan.c
1948 static int check_route_rtf_local(struct sk_buff *skb, struct net_device *dev,
1949 struct vxlan_dev *vxlan, union vxlan_addr *daddr,
1950 __be32 dst_port, __be32 vni, struct dst_entry *dst,
1951 u32 rt_flags)
1952 {
1953 /* Bypass encapsulation if the destination is local */
> 1954 if (rt_flags & RTF_LOCAL &&
1955 !(rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST))) {
1956 struct vxlan_dev *dst_vxlan;
1957
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (29764 bytes)
Powered by blists - more mailing lists