From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: socfpga: hide unused functions
Date: Fri, 26 Feb 2016 17:45:32 +0100 [thread overview]
Message-ID: <4863197.tpCxBrE0HK@wuerfel> (raw)
In-Reply-To: <56CC7947.6000909@opensource.altera.com>
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
prev parent reply other threads:[~2016-02-26 16:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 14:08 [PATCH] ARM: socfpga: hide unused functions Arnd Bergmann
2016-02-23 15:22 ` Dinh Nguyen
2016-02-26 16:45 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4863197.tpCxBrE0HK@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox