lkml.org 
[lkml]   [2020]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] arm64: Fix -Wunused-function warning
Date
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.


\
 
 \ /
  Last update: 2020-09-18 18:02    [W:0.592 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site