[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <160044487333.1302416.595224309717788435.b4-ty@kernel.org>
Date: Fri, 18 Sep 2020 17:01:29 +0100
From: Marc Zyngier <maz@...nel.org>
To: catalin.marinas@....com, YueHaibing <yuehaibing@...wei.com>,
will@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] arm64: Fix -Wunused-function warning
On Fri, 18 Sep 2020 20:33:18 +0800, YueHaibing wrote:
> If CONFIG_HOTPLUG_CPU is n, gcc warns:
>
> arch/arm64/kernel/smp.c:967:13: warning: ‘ipi_teardown’ defined but not used [-Wunused-function]
> static void ipi_teardown(int cpu)
> ^~~~~~~~~~~~
>
> Use #ifdef guard this.
Applied to irq/irqchip-next, thanks!
[1/1] arm64: Fix -Wunused-function warning when !CONFIG_HOTPLUG_CPU
commit: 9d9edb962e910552c9c008800ec907293a47852e
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
Powered by blists - more mailing lists