crypto: aspeed: change aspeed_acry_akcipher_algs to static
Subsystems (3)
PATCH 1/1 crypto: aspeed: change aspeed_acry_akcipher_algs to static
aspeed_acry_akcipher_algs is only used in aspeed-acry.c now, change it to static.
Signed-off-by Yang Yingliang <[email protected]>
--- drivers/crypto/aspeed/aspeed-acry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/aspeed/aspeed-acry.c +1 -1
@@ -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,
Signature · 1 line
2.25.1
PATCH 1/1 crypto: aspeed: change aspeed_acry_akcipher_algs to static
Quoted 2 lines · Yang Yingliang
aspeed_acry_akcipher_algsis only used inaspeed-acry.cnow, change it to static.
Acked-by Andrew Jeffery <[email protected]>
Neal Liu
maintainerPATCH 1/1 crypto: aspeed: change aspeed_acry_akcipher_algs to static
In reply to Yang YingliangQuoted 4 lines
aspeed_acry_akcipher_algsis only used inaspeed-acry.cnow, change it to static.Signed-off-by Yang Yingliang <[email protected]>
Reviewed-by Neal Liu <[email protected]>
Quoted 21 lines
--- drivers/crypto/aspeed/aspeed-acry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/crypto/aspeed/aspeed-acry.c +1
-1@@ -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
Herbert Xu
maintainerPATCH 1/1 crypto: aspeed: change aspeed_acry_akcipher_algs to static
In reply to Yang YingliangQuoted 7 lines · Yang Yingliang
aspeed_acry_akcipher_algsis only used inaspeed-acry.cnow, change it to static.Signed-off-by Yang Yingliang <[email protected]>--- drivers/crypto/aspeed/aspeed-acry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt