[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y3dNljPODUz9FOju@gondor.apana.org.au>
Date: Fri, 18 Nov 2022 17:17:10 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>,
kernel test robot <lkp@...el.com>,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: arm64 - Fix unused variable compilation warnings
of cpu_feature
On Thu, Nov 10, 2022 at 06:42:04PM +0800, Tianjia Zhang wrote:
> The cpu feature defined by MODULE_DEVICE_TABLE is only referenced when
> compiling as a module, and the warning of unused variable will be
> encountered when compiling with intree. The warning can be removed by
> adding the __maybe_unused flag.
>
> Fixes: 03c9a333fef1 ("crypto: arm64/ghash - add NEON accelerated fallback for 64-bit PMULL")
> Fixes: ae1b83c7d572 ("crypto: arm64/sm4 - add CE implementation for GCM mode")
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
> ---
> arch/arm64/crypto/ghash-ce-glue.c | 2 +-
> arch/arm64/crypto/sm4-ce-gcm-glue.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists