Messages in this thread Patch in this message | | | From | "Gustavo F. Padovan" <> | Subject | [PATCH 2/8] x86: Fix set but not used in ghash_async_setkey() | Date | Fri, 20 May 2011 16:12:59 -0300 |
| |
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> --- 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
| |