lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201607101234.jpYjhCi9%fengguang.wu@intel.com>
Date:	Sun, 10 Jul 2016 12:35:36 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	unlisted-recipients:; (no To-header on input)
Cc:	kbuild-all@...org, netdev@...r.kernel.org,
	Simon Horman <simon.horman@...ronome.com>,
	Dinan Gunawardena <dinan.gunawardena@...ronome.com>
Subject: [net-next:master 1099/1116] net/ipv4/tunnel4.c:218:3: error: label
 'err_mpls' used but not defined

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: x86_64-randconfig-s4-07101153 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 8afe97e5d4165c9d181d42504af3f96c8427659a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (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:
    ^~~~~~~~
>> net/ipv4/tunnel4.c:218:3: error: label 'err_mpls' used but not defined
      goto err_mpls;
      ^~~~

vim +/err_mpls +218 net/ipv4/tunnel4.c

   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__);

---
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/octet-stream" (35008 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ