[PATCH] arm64/sve: Move sve_free() into SVE code section

Mark Brown broonie at kernel.org
Tue May 17 10:15:45 PDT 2022


On Tue, May 17, 2022 at 04:52:03PM +0200, Geert Uytterhoeven wrote:
> If CONFIG_ARM64_SVE is not set:
> 
>     arch/arm64/kernel/fpsimd.c:294:13: warning: ‘sve_free’ defined but not used [-Wunused-function]
> 
> Fix this by moving sve_free() and __sve_free() into the existing section
> protected by "#ifdef CONFIG_ARM64_SVE", now the last user outside that
> section has been removed.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220517/c2cdf21b/attachment.sig>


More information about the linux-arm-kernel mailing list