Messages in this thread | | | From | Marc Zyngier <> | Subject | Re: [PATCH -next] arm64: Fix -Wunused-function warning | Date | Fri, 18 Sep 2020 17:01:29 +0100 |
| |
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.
| |