Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1344445

Re: [PATCH] ARM: socfpga: hide unused functions

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: socfpga: hide unused functions
Date 2016-02-26 17:50 +0100
Message-ID <r6tKy-67J-13@gated-at.bofh.it> (permalink)
References <r5lP4-6xC-17@gated-at.bofh.it> <r6tKy-67J-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 23 February 2016 09:22:47 Dinh Nguyen wrote:
> 
> On 02/23/2016 08:08 AM, Arnd Bergmann wrote:
> > The cpu_die and cpu_kill callbacks are only used when CONFIG_HOTPLUG_CPU
> > is enabled, otherwise we get a warning about them:
> > 
> > arch/arm/mach-socfpga/platsmp.c:102:13: error: 'socfpga_cpu_die' defined but not used [-Werror=unused-function]
> > arch/arm/mach-socfpga/platsmp.c:115:12: error: 'socfpga_cpu_kill' defined but not used [-Werror=unused-function]
> > 
> > This adds the appropriate #ifdef.
> > 
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>

Applied to next/fixes-non-critical, thanks!

	Arnd

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: socfpga: hide unused functions Arnd Bergmann <arnd@arndb.de> - 2016-02-23 15:10 +0100
  Re: [PATCH] ARM: socfpga: hide unused functions Arnd Bergmann <arnd@arndb.de> - 2016-02-26 17:50 +0100

csiph-web