提交 c9af70fb 编写于 作者: R Richard Hartmann 提交者: Herbert Xu

crypto: crypto_null - Fix checkpatch errors

Signed-off-by: NRichard Hartmann <richih.mailinglist@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 d150975b
/* /*
* Cryptographic API. * Cryptographic API.
* *
* Null algorithms, aka Much Ado About Nothing. * Null algorithms, aka Much Ado About Nothing.
* *
* These are needed for IPsec, and may be useful in general for * These are needed for IPsec, and may be useful in general for
* testing & debugging. * testing & debugging.
* *
* The null cipher is compliant with RFC2410. * The null cipher is compliant with RFC2410.
* *
* Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
...@@ -163,7 +163,7 @@ MODULE_ALIAS("cipher_null"); ...@@ -163,7 +163,7 @@ MODULE_ALIAS("cipher_null");
static int __init crypto_null_mod_init(void) static int __init crypto_null_mod_init(void)
{ {
int ret = 0; int ret = 0;
ret = crypto_register_alg(&cipher_null); ret = crypto_register_alg(&cipher_null);
if (ret < 0) if (ret < 0)
goto out; goto out;
...@@ -180,7 +180,7 @@ static int __init crypto_null_mod_init(void) ...@@ -180,7 +180,7 @@ static int __init crypto_null_mod_init(void)
if (ret < 0) if (ret < 0)
goto out_unregister_digest; goto out_unregister_digest;
out: out:
return ret; return ret;
out_unregister_digest: out_unregister_digest:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册