[ath6kl:master 1344/1352] net/ipv4/ip_gre.c:138:15: error: redefinition of 'gre_flags_to_tnl_flags'
kbuild test robot
fengguang.wu at intel.com
Mon May 9 14:51:06 PDT 2016
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git master
head: 140eb352c0398fd9c361e0fded58055c893db482
commit: 13e441e25c7c41683748ffc48a30a83fa2e4ea7b [1344/1352] Merge remote-tracking branch 'wireless-drivers-next/master'
config: x86_64-rhel (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
git checkout 13e441e25c7c41683748ffc48a30a83fa2e4ea7b
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the ath6kl/master HEAD 140eb352c0398fd9c361e0fded58055c893db482 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> net/ipv4/ip_gre.c:138:15: error: redefinition of 'gre_flags_to_tnl_flags'
static __be16 gre_flags_to_tnl_flags(__be16 flags)
^
In file included from net/ipv4/ip_gre.c:49:0:
include/net/gre.h:44:22: note: previous definition of 'gre_flags_to_tnl_flags' was here
static inline __be16 gre_flags_to_tnl_flags(__be16 flags)
^
net/ipv4/ip_gre.c:160:15: warning: 'tnl_flags_to_gre_flags' defined but not used [-Wunused-function]
static __be16 tnl_flags_to_gre_flags(__be16 tflags)
^
net/ipv4/ip_gre.c:183:12: warning: 'parse_gre_header' defined but not used [-Wunused-function]
static int parse_gre_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
^
vim +/gre_flags_to_tnl_flags +138 net/ipv4/ip_gre.c
f99189b1 Eric Dumazet 2009-11-17 122 static int ipgre_net_id __read_mostly;
c5441932 Pravin B Shelar 2013-03-25 123 static int gre_tap_net_id __read_mostly;
^1da177e Linus Torvalds 2005-04-16 124
9f57c67c Pravin B Shelar 2015-08-07 125 static int ip_gre_calc_hlen(__be16 o_flags)
9f57c67c Pravin B Shelar 2015-08-07 126 {
9f57c67c Pravin B Shelar 2015-08-07 127 int addend = 4;
9f57c67c Pravin B Shelar 2015-08-07 128
9f57c67c Pravin B Shelar 2015-08-07 129 if (o_flags & TUNNEL_CSUM)
9f57c67c Pravin B Shelar 2015-08-07 130 addend += 4;
9f57c67c Pravin B Shelar 2015-08-07 131 if (o_flags & TUNNEL_KEY)
9f57c67c Pravin B Shelar 2015-08-07 132 addend += 4;
9f57c67c Pravin B Shelar 2015-08-07 133 if (o_flags & TUNNEL_SEQ)
9f57c67c Pravin B Shelar 2015-08-07 134 addend += 4;
9f57c67c Pravin B Shelar 2015-08-07 135 return addend;
9f57c67c Pravin B Shelar 2015-08-07 136 }
9f57c67c Pravin B Shelar 2015-08-07 137
9f57c67c Pravin B Shelar 2015-08-07 @138 static __be16 gre_flags_to_tnl_flags(__be16 flags)
9f57c67c Pravin B Shelar 2015-08-07 139 {
9f57c67c Pravin B Shelar 2015-08-07 140 __be16 tflags = 0;
9f57c67c Pravin B Shelar 2015-08-07 141
9f57c67c Pravin B Shelar 2015-08-07 142 if (flags & GRE_CSUM)
9f57c67c Pravin B Shelar 2015-08-07 143 tflags |= TUNNEL_CSUM;
9f57c67c Pravin B Shelar 2015-08-07 144 if (flags & GRE_ROUTING)
9f57c67c Pravin B Shelar 2015-08-07 145 tflags |= TUNNEL_ROUTING;
9f57c67c Pravin B Shelar 2015-08-07 146 if (flags & GRE_KEY)
:::::: The code at line 138 was first introduced by commit
:::::: 9f57c67c379d88a10e8ad676426fee5ae7341b14 gre: Remove support for sharing GRE protocol hook.
:::::: TO: Pravin B Shelar <pshelar at nicira.com>
:::::: CC: David S. Miller <davem at davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 36453 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160510/f521d045/attachment-0001.obj>
More information about the ath10k
mailing list