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-xts.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-xts.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-crypto-aes-xts.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto-aes-xts.c b/drivers/crypto/ccp/ccp-crypto-aes-xts.c index 0cc5594b7de3..52c7395cb8d8 100644 --- a/drivers/crypto/ccp/ccp-crypto-aes-xts.c +++ b/drivers/crypto/ccp/ccp-crypto-aes-xts.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include "ccp-crypto.h" | 22 | #include "ccp-crypto.h" |
23 | 23 | ||
24 | |||
25 | struct ccp_aes_xts_def { | 24 | struct ccp_aes_xts_def { |
26 | const char *name; | 25 | const char *name; |
27 | const char *drv_name; | 26 | const char *drv_name; |
@@ -216,7 +215,6 @@ static void ccp_aes_xts_cra_exit(struct crypto_tfm *tfm) | |||
216 | ctx->u.aes.tfm_ablkcipher = NULL; | 215 | ctx->u.aes.tfm_ablkcipher = NULL; |
217 | } | 216 | } |
218 | 217 | ||
219 | |||
220 | static int ccp_register_aes_xts_alg(struct list_head *head, | 218 | static int ccp_register_aes_xts_alg(struct list_head *head, |
221 | const struct ccp_aes_xts_def *def) | 219 | const struct ccp_aes_xts_def *def) |
222 | { | 220 | { |
@@ -255,7 +253,7 @@ static int ccp_register_aes_xts_alg(struct list_head *head, | |||
255 | ret = crypto_register_alg(alg); | 253 | ret = crypto_register_alg(alg); |
256 | if (ret) { | 254 | if (ret) { |
257 | pr_err("%s ablkcipher algorithm registration error (%d)\n", | 255 | pr_err("%s ablkcipher algorithm registration error (%d)\n", |
258 | alg->cra_name, ret); | 256 | alg->cra_name, ret); |
259 | kfree(ccp_alg); | 257 | kfree(ccp_alg); |
260 | return ret; | 258 | return ret; |
261 | } | 259 | } |