diff mbox

[RFC,cryptodev] crypto: des3_ede_skciphers[] can be static

Message ID 20180302202946.GA25515@lkp-wsx02 (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Fengguang Wu March 2, 2018, 8:29 p.m. UTC
Fixes: 09c0f03bf8ce ("crypto: x86/des3_ede - convert to skcipher interface")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 des3_ede_glue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Biggers March 2, 2018, 10:32 p.m. UTC | #1
On Sat, Mar 03, 2018 at 04:29:46AM +0800, kbuild test robot wrote:
> 
> Fixes: 09c0f03bf8ce ("crypto: x86/des3_ede - convert to skcipher interface")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>  des3_ede_glue.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
> index f9c7bdc..5c610d4e 100644
> --- a/arch/x86/crypto/des3_ede_glue.c
> +++ b/arch/x86/crypto/des3_ede_glue.c
> @@ -404,7 +404,7 @@ static struct crypto_alg des3_ede_cipher = {
>  	}
>  };
>  
> -struct skcipher_alg des3_ede_skciphers[] = {
> +static struct skcipher_alg des3_ede_skciphers[] = {
>  	{
>  		.base.cra_name		= "ecb(des3_ede)",
>  		.base.cra_driver_name	= "ecb-des3_ede-asm",

Acked-by: Eric Biggers <ebiggers@google.com>

Thanks!
Herbert Xu March 9, 2018, 3:20 p.m. UTC | #2
On Sat, Mar 03, 2018 at 04:29:46AM +0800, kbuild test robot wrote:
> 
> Fixes: 09c0f03bf8ce ("crypto: x86/des3_ede - convert to skcipher interface")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Patch applied.  Thanks.
diff mbox

Patch

diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
index f9c7bdc..5c610d4e 100644
--- a/arch/x86/crypto/des3_ede_glue.c
+++ b/arch/x86/crypto/des3_ede_glue.c
@@ -404,7 +404,7 @@  static struct crypto_alg des3_ede_cipher = {
 	}
 };
 
-struct skcipher_alg des3_ede_skciphers[] = {
+static struct skcipher_alg des3_ede_skciphers[] = {
 	{
 		.base.cra_name		= "ecb(des3_ede)",
 		.base.cra_driver_name	= "ecb-des3_ede-asm",