* [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static
@ 2023-01-19 1:48 Yang Yingliang
2023-01-19 4:38 ` Andrew Jeffery
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yang Yingliang @ 2023-01-19 1:48 UTC (permalink / raw)
To: linux-crypto, linux-aspeed; +Cc: neal_liu, herbert, yangyingliang
aspeed_acry_akcipher_algs is only used in aspeed-acry.c now,
change it to static.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
drivers/crypto/aspeed/aspeed-acry.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/aspeed/aspeed-acry.c b/drivers/crypto/aspeed/aspeed-acry.c
index 6d3790583f8b..164c524015f0 100644
--- a/drivers/crypto/aspeed/aspeed-acry.c
+++ b/drivers/crypto/aspeed/aspeed-acry.c
@@ -603,7 +603,7 @@ static void aspeed_acry_rsa_exit_tfm(struct crypto_akcipher *tfm)
crypto_free_akcipher(ctx->fallback_tfm);
}
-struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
+static struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
{
.akcipher = {
.encrypt = aspeed_acry_rsa_enc,
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static
2023-01-19 1:48 [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static Yang Yingliang
@ 2023-01-19 4:38 ` Andrew Jeffery
2023-01-19 5:30 ` Neal Liu
2023-01-27 11:07 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Jeffery @ 2023-01-19 4:38 UTC (permalink / raw)
To: Yang Yingliang, Linux Crypto Mailing List, linux-aspeed
Cc: neal_liu, Herbert Xu
On Thu, 19 Jan 2023, at 12:18, Yang Yingliang wrote:
> aspeed_acry_akcipher_algs is only used in aspeed-acry.c now,
> change it to static.
Acked-by: Andrew Jeffery <andrew@aj.id.au>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static
2023-01-19 1:48 [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static Yang Yingliang
2023-01-19 4:38 ` Andrew Jeffery
@ 2023-01-19 5:30 ` Neal Liu
2023-01-27 11:07 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Neal Liu @ 2023-01-19 5:30 UTC (permalink / raw)
To: Yang Yingliang, linux-crypto, linux-aspeed; +Cc: herbert
> aspeed_acry_akcipher_algs is only used in aspeed-acry.c now, change it to
> static.
>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
> ---
> drivers/crypto/aspeed/aspeed-acry.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/aspeed/aspeed-acry.c
> b/drivers/crypto/aspeed/aspeed-acry.c
> index 6d3790583f8b..164c524015f0 100644
> --- a/drivers/crypto/aspeed/aspeed-acry.c
> +++ b/drivers/crypto/aspeed/aspeed-acry.c
> @@ -603,7 +603,7 @@ static void aspeed_acry_rsa_exit_tfm(struct
> crypto_akcipher *tfm)
> crypto_free_akcipher(ctx->fallback_tfm);
> }
>
> -struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
> +static struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
> {
> .akcipher = {
> .encrypt = aspeed_acry_rsa_enc,
> --
> 2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static
2023-01-19 1:48 [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static Yang Yingliang
2023-01-19 4:38 ` Andrew Jeffery
2023-01-19 5:30 ` Neal Liu
@ 2023-01-27 11:07 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2023-01-27 11:07 UTC (permalink / raw)
To: Yang Yingliang; +Cc: linux-crypto, linux-aspeed, neal_liu
On Thu, Jan 19, 2023 at 09:48:59AM +0800, Yang Yingliang wrote:
> aspeed_acry_akcipher_algs is only used in aspeed-acry.c now,
> change it to static.
>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
> drivers/crypto/aspeed/aspeed-acry.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-01-27 11:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 1:48 [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static Yang Yingliang
2023-01-19 4:38 ` Andrew Jeffery
2023-01-19 5:30 ` Neal Liu
2023-01-27 11:07 ` Herbert Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.