CRYPTO: Fix checkpatch errors & warnings in algapi.c
PATCH 1/1 CRYPTO: Fix checkpatch errors & warnings in algapi.c
Signed-off-by Richard Hartmann <[email protected]>
--- crypto/algapi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
crypto/algapi.c +2 -2
@@ -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);
Signature · 1 line
1.6.6.1