[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200311120212.GE3216816@arrakis.emea.arm.com>
Date: Wed, 11 Mar 2020 12:02:12 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] arm64: Mark call_smc_arch_workaround_1 as __maybe_unused
On Tue, Mar 10, 2020 at 04:25:44PM -0700, Nathan Chancellor wrote:
> When building allnoconfig:
>
> arch/arm64/kernel/cpu_errata.c:174:13: warning: unused function
> 'call_smc_arch_workaround_1' [-Wunused-function]
> static void call_smc_arch_workaround_1(void)
> ^
> 1 warning generated.
>
> Follow arch/arm and mark this function as __maybe_unused.
>
> Fixes: 4db61fef16a1 ("arm64: kvm: Modernize __smccc_workaround_1_smc_start annotations")
> Signed-off-by: Nathan Chancellor <natechancellor@...il.com>
Applied. Thanks.
--
Catalin
Powered by blists - more mailing lists