aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/crypto/cryptodev/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/crypto/cryptodev/main.c')
-rw-r--r--drivers/staging/crypto/cryptodev/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/crypto/cryptodev/main.c b/drivers/staging/crypto/cryptodev/main.c
index e25776e8db64..4617e723768e 100644
--- a/drivers/staging/crypto/cryptodev/main.c
+++ b/drivers/staging/crypto/cryptodev/main.c
@@ -116,7 +116,7 @@ __crypto_run_std(struct csession *ses_ptr, struct crypt_op *cop)
if (unlikely(!data)) {
dprintk(1, KERN_ERR, "Error getting free page.\n");
return -ENOMEM;
- }
+ }
bufsize = PAGE_SIZE < nbytes ? PAGE_SIZE : nbytes;
@@ -139,7 +139,7 @@ __crypto_run_std(struct csession *ses_ptr, struct crypt_op *cop)
if (unlikely(ret)) {
dprintk(1, KERN_ERR, "hash_n_crypt failed.\n");
break;
- }
+ }
if (ses_ptr->cdata.init != 0) {
if (unlikely(copy_to_user(dst, data, current_len))) {