From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934565AbdBQRDa (ORCPT ); Fri, 17 Feb 2017 12:03:30 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33227 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933900AbdBQRD3 (ORCPT ); Fri, 17 Feb 2017 12:03:29 -0500 Date: Fri, 17 Feb 2017 09:03:24 -0800 From: Stephen Hemminger To: Arnd Bergmann Cc: Greg Kroah-Hartman , Stephen Hemminger , Haiyang Zhang , x86@kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , "H. Peter Anvin" , devel@linuxdriverproject.org, Thomas Gleixner Subject: Re: [PATCH] hv: hide unused label Message-ID: <20170217090324.66575c9f@plumbers-lap.home.lan> In-Reply-To: <20170214211736.2641241-1-arnd@arndb.de> References: <20170214211736.2641241-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Feb 2017 22:17:17 +0100 Arnd Bergmann wrote: > This new 32-bit warning just showed up: > > arch/x86/hyperv/hv_init.c: In function 'hyperv_init': > arch/x86/hyperv/hv_init.c:167:1: error: label 'register_msr_cs' defined but not used [-Werror=unused-label] > > The easiest solution is to move the label up into the existing #ifdef that > has the goto. > > Fixes: dee863b571b0 ("hv: export current Hyper-V clocksource") > Signed-off-by: Arnd Bergmann Acked-by: Stephen Hemminger