2011-05-20 19:12:59

by Gustavo Padovan

[permalink] [raw]
Subject: [PATCH 2/8] x86: Fix set but not used in ghash_async_setkey()

Signed-off-by: Gustavo F. Padovan <[email protected]>
---
arch/x86/crypto/ghash-clmulni-intel_glue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/crypto/ghash-clmulni-intel_glue.c b/arch/x86/crypto/ghash-clmulni-intel_glue.c
index 7a6e68e..976aa64 100644
--- a/arch/x86/crypto/ghash-clmulni-intel_glue.c
+++ b/arch/x86/crypto/ghash-clmulni-intel_glue.c
@@ -245,7 +245,7 @@ static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key,
crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child)
& CRYPTO_TFM_RES_MASK);

- return 0;
+ return err;
}

static int ghash_async_init_tfm(struct crypto_tfm *tfm)
--
1.7.5.1


2011-05-26 03:30:11

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH 2/8] x86: Fix set but not used in ghash_async_setkey()

On Fri, May 20, 2011 at 04:12:59PM -0300, Gustavo F. Padovan wrote:
> Signed-off-by: Gustavo F. Padovan <[email protected]>

Patch applied. Thanks a lot.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt