From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: Re: linux-next: build warning after merge of the net-next tree Date: Mon, 11 Jul 2016 17:16:57 +0900 Message-ID: <20160711081655.GA14800@penelope.isobedori.kobe.vergenet.net> References: <20160711161311.5049ec64@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f50.google.com ([209.85.220.50]:35582 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030263AbcGKIRD (ORCPT ); Mon, 11 Jul 2016 04:17:03 -0400 Received: by mail-pa0-f50.google.com with SMTP id dx3so32544488pab.2 for ; Mon, 11 Jul 2016 01:17:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20160711161311.5049ec64@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: David Miller , netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Dinan Gunawardena On Mon, Jul 11, 2016 at 04:13:11PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning (CONFIG_MPLS is disabled): > > net/ipv4/tunnel4.c: In function 'tunnel4_init': > net/ipv4/tunnel4.c:223:1: warning: label 'err_mpls' defined but not used [-Wunused-label] > err_mpls: > ^ > > and the powerpc ppc64_defconfig build produced this (CONFIG_IPV6 is disabled): > > 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: > ^ > > Introduced by commit > > 8afe97e5d416 ("tunnels: support MPLS over IPv4 tunnels") Thanks Stephen, I have posted a fix for this. "[PATCH net-next v2] tunnels: correct conditional build of MPLS and IPv6"