* [ath6kl:master 1344/1352] net/ipv4/ip_gre.c:138:15: error: redefinition of 'gre_flags_to_tnl_flags'
@ 2016-05-09 21:51 kbuild test robot
2016-05-09 22:10 ` Bob Copeland
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-05-09 21:51 UTC (permalink / raw)
To: Kalle Valo <kvalo@adurom.com> Kalle Valo
Cc: Bob Copeland, kbuild-all, ath10k
[-- Attachment #1: Type: text/plain, Size: 3411 bytes --]
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@nicira.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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 36453 bytes --]
[-- Attachment #3: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-09 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09 21:51 [ath6kl:master 1344/1352] net/ipv4/ip_gre.c:138:15: error: redefinition of 'gre_flags_to_tnl_flags' kbuild test robot
2016-05-09 22:10 ` Bob Copeland
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.