From: Yang Yingliang <yangyingliang@huawei.com>
To: <linux-crypto@vger.kernel.org>, <linux-aspeed@lists.ozlabs.org>
Cc: <neal_liu@aspeedtech.com>, <herbert@gondor.apana.org.au>,
<yangyingliang@huawei.com>
Subject: [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static
Date: Thu, 19 Jan 2023 09:48:59 +0800 [thread overview]
Message-ID: <20230119014859.1900136-1-yangyingliang@huawei.com> (raw)
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
next reply other threads:[~2023-01-19 1:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 1:48 Yang Yingliang [this message]
2023-01-19 4:38 ` [PATCH -next] crypto: aspeed: change aspeed_acry_akcipher_algs to static Andrew Jeffery
2023-01-19 5:30 ` Neal Liu
2023-01-27 11:07 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230119014859.1900136-1-yangyingliang@huawei.com \
--to=yangyingliang@huawei.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-crypto@vger.kernel.org \
--cc=neal_liu@aspeedtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox