From: Richard Hartmann Subject: [PATCH 1/1] CRYPTO: Fix checkpatch errors & warnings in algapi.c Date: Wed, 10 Feb 2010 01:49:58 +0100 Message-ID: <1265762999-22112-1-git-send-email-richih.mailinglist@gmail.com> Cc: Richard Hartmann , Herbert Xu , "David S. Miller" , Brad Bosch , linux-kernel@vger.kernel.org To: linux-crypto@vger.kernel.org Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:53659 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752472Ab0BJAuz (ORCPT ); Tue, 9 Feb 2010 19:50:55 -0500 Sender: linux-crypto-owner@vger.kernel.org List-ID: Signed-off-by: Richard Hartmann --- crypto/algapi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/algapi.c b/crypto/algapi.c index f149b1c..3e4524e 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -230,7 +230,7 @@ static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) list_add(&alg->cra_list, &crypto_alg_list); list_add(&larval->alg.cra_list, &crypto_alg_list); -out: +out: return larval; free_larval: @@ -388,7 +388,7 @@ int crypto_unregister_alg(struct crypto_alg *alg) { int ret; LIST_HEAD(list); - + down_write(&crypto_alg_sem); ret = crypto_remove_alg(alg, &list); up_write(&crypto_alg_sem); -- 1.6.6.1