diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2015-02-03 14:07:05 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-02-27 04:48:47 -0500 |
commit | 8db8846754767bc955eaf7e28db8a94787d12ce6 (patch) | |
tree | 2ddbaa25a8e6213f05e7d8cd0bfbbc6ddf62307a /drivers/crypto/ccp/ccp-crypto-aes.c | |
parent | 2ecc1e95ec70923e642fa481ee7f7ad443798f2a (diff) |
crypto: ccp - Updates for checkpatch warnings/errors
Changes to address warnings and errors reported by the checkpatch
script.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-crypto-aes.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-crypto-aes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto-aes.c b/drivers/crypto/ccp/ccp-crypto-aes.c index e46490db0f63..7984f910884d 100644 --- a/drivers/crypto/ccp/ccp-crypto-aes.c +++ b/drivers/crypto/ccp/ccp-crypto-aes.c | |||
@@ -22,7 +22,6 @@ | |||
22 | 22 | ||
23 | #include "ccp-crypto.h" | 23 | #include "ccp-crypto.h" |
24 | 24 | ||
25 | |||
26 | static int ccp_aes_complete(struct crypto_async_request *async_req, int ret) | 25 | static int ccp_aes_complete(struct crypto_async_request *async_req, int ret) |
27 | { | 26 | { |
28 | struct ablkcipher_request *req = ablkcipher_request_cast(async_req); | 27 | struct ablkcipher_request *req = ablkcipher_request_cast(async_req); |
@@ -345,7 +344,7 @@ static int ccp_register_aes_alg(struct list_head *head, | |||
345 | ret = crypto_register_alg(alg); | 344 | ret = crypto_register_alg(alg); |
346 | if (ret) { | 345 | if (ret) { |
347 | pr_err("%s ablkcipher algorithm registration error (%d)\n", | 346 | pr_err("%s ablkcipher algorithm registration error (%d)\n", |
348 | alg->cra_name, ret); | 347 | alg->cra_name, ret); |
349 | kfree(ccp_alg); | 348 | kfree(ccp_alg); |
350 | return ret; | 349 | return ret; |
351 | } | 350 | } |