[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170217090324.66575c9f@plumbers-lap.home.lan>
Date: Fri, 17 Feb 2017 09:03:24 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, devel@...uxdriverproject.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] hv: hide unused label
On Tue, 14 Feb 2017 22:17:17 +0100
Arnd Bergmann <arnd@...db.de> 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 <arnd@...db.de>
Acked-by: Stephen Hemminger <sthemmin@...rosoft.com>
Powered by blists - more mailing lists