tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 927265bc6cd6374c9bafc43408ece4e92311b149 commit: 8afe97e5d4165c9d181d42504af3f96c8427659a [1099/1116] tunnels: support MPLS over IPv4 tunnels config: m32r-usrv_defconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 8afe97e5d4165c9d181d42504af3f96c8427659a # save the attached .config to linux build tree make.cross ARCH=m32r
All warnings (new ones prefixed by >>):
net/ipv4/tunnel4.c: In function 'tunnel4_init':
>> net/ipv4/tunnel4.c:226:1: warning: label 'err_ipv6' defined but not used
>> [-Wunused-label]
err_ipv6:
^
vim +/err_ipv6 +226 net/ipv4/tunnel4.c
210 if (inet_add_protocol(&tunnel4_protocol, IPPROTO_IPIP))
211 goto err_ipip;
212 #if IS_ENABLED(CONFIG_IPV6)
213 if (inet_add_protocol(&tunnel64_protocol, IPPROTO_IPV6))
214 goto err_ipv6;
215 #endif
216 #if IS_ENABLED(CONFIG_MPLS)
217 if (inet_add_protocol(&tunnelmpls4_protocol, IPPROTO_MPLS))
218 goto err_mpls;
219 #endif
220 return 0;
221
222 #if IS_ENABLED(CONFIG_IPV6)
223 err_mpls:
224 inet_del_protocol(&tunnel4_protocol, IPPROTO_IPV6);
225 #endif
> 226 err_ipv6:
227 inet_del_protocol(&tunnel4_protocol, IPPROTO_IPIP);
228 err_ipip:
229 pr_err("%s: can't add protocol\n", __func__);
230 return -EAGAIN;
231 }
232
233 static void __exit tunnel4_fini(void)
234 {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data
