From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030524AbcGKIRG (ORCPT ); Mon, 11 Jul 2016 04:17:06 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:36855 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030450AbcGKIRD (ORCPT ); Mon, 11 Jul 2016 04:17:03 -0400 Date: Mon, 11 Jul 2016 17:16:57 +0900 From: Simon Horman To: Stephen Rothwell Cc: David Miller , netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Dinan Gunawardena Subject: Re: linux-next: build warning after merge of the net-next tree 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 Content-Disposition: inline In-Reply-To: <20160711161311.5049ec64@canb.auug.org.au> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"