aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2014-01-29 04:18:28 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-08-30 12:11:55 -0400
commita2a61369f51035a305ad0be20751d5a945779553 (patch)
tree2c12806235fe1dcaedf26d2516586b82e7f93e20
parent14ff9b6a31efa88745a1c1a5f963f0f1303a4588 (diff)
downloadlinux-yocto-a2a61369f51035a305ad0be20751d5a945779553.tar.gz
linux-yocto-a2a61369f51035a305ad0be20751d5a945779553.tar.bz2
linux-yocto-a2a61369f51035a305ad0be20751d5a945779553.zip
cryptodev: checkpatch
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--drivers/staging/crypto/cryptodev/ioctl.c2
-rw-r--r--drivers/staging/crypto/cryptodev/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/crypto/cryptodev/ioctl.c b/drivers/staging/crypto/cryptodev/ioctl.c
index aa287acc0fd6..cb52e8daab15 100644
--- a/drivers/staging/crypto/cryptodev/ioctl.c
+++ b/drivers/staging/crypto/cryptodev/ioctl.c
@@ -556,7 +556,7 @@ clonefd(struct file *filp)
static int crypto_async_run(struct crypt_priv *pcr, struct kernel_crypt_op *kcop)
{
struct todo_list_item *item = NULL;
-
+
if (unlikely(kcop->cop.flags & COP_FLAG_NO_ZC))
return -EINVAL;
diff --git a/drivers/staging/crypto/cryptodev/main.c b/drivers/staging/crypto/cryptodev/main.c
index 4617e723768e..a25b2c6a44d1 100644
--- a/drivers/staging/crypto/cryptodev/main.c
+++ b/drivers/staging/crypto/cryptodev/main.c
@@ -192,7 +192,7 @@ int crypto_run(struct fcrypt *fcr, struct kernel_crypt_op *kcop)
dprintk(1, KERN_DEBUG, "invalid operation op=%u\n", cop->op);
return -EINVAL;
}
-
+
/* this also enters ses_ptr->sem */
ses_ptr = crypto_get_session_by_sid(fcr, cop->ses);
if (unlikely(!ses_ptr)) {