From 720d61daf08a1215db49767c65c40d0976645235 Mon Sep 17 00:00:00 2001 From: Jaren Johnston Date: Fri, 15 Jun 2012 08:43:14 +0200 Subject: [PATCH] added newline to dprintk Signed-off-by: Nikos Mavrogiannopoulos --- ioctl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ioctl.c b/ioctl.c index 6e5cc61..e3a8397 100644 --- a/ioctl.c +++ b/ioctl.c @@ -838,26 +838,26 @@ cryptodev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg_) return copy_to_user(arg, &siop, sizeof(siop)); case CIOCCRYPT: if (unlikely(ret = kcop_from_user(&kcop, fcr, arg))) { - dprintk(1, KERN_WARNING, "Error copying from user"); + dprintk(1, KERN_WARNING, "Error copying from user\n"); return ret; } ret = crypto_run(fcr, &kcop); if (unlikely(ret)) { - dprintk(1, KERN_WARNING, "Error in crypto_run"); + dprintk(1, KERN_WARNING, "Error in crypto_run\n"); return ret; } return kcop_to_user(&kcop, fcr, arg); case CIOCAUTHCRYPT: if (unlikely(ret = kcaop_from_user(&kcaop, fcr, arg))) { - dprintk(1, KERN_WARNING, "Error copying from user"); + dprintk(1, KERN_WARNING, "Error copying from user\n"); return ret; } ret = crypto_auth_run(fcr, &kcaop); if (unlikely(ret)) { - dprintk(1, KERN_WARNING, "Error in crypto_auth_run"); + dprintk(1, KERN_WARNING, "Error in crypto_auth_run\n"); return ret; } return kcaop_to_user(&kcaop, fcr, arg); @@ -954,13 +954,13 @@ static int compat_kcop_to_user(struct kernel_crypt_op *kcop, ret = fill_cop_from_kcop(kcop, fcr); if (unlikely(ret)) { - dprintk(1, KERN_WARNING, "Error in fill_cop_from_kcop"); + dprintk(1, KERN_WARNING, "Error in fill_cop_from_kcop\n"); return ret; } crypt_op_to_compat(&kcop->cop, &compat_cop); if (unlikely(copy_to_user(arg, &compat_cop, sizeof(compat_cop)))) { - dprintk(1, KERN_WARNING, "Error copying to user"); + dprintk(1, KERN_WARNING, "Error copying to user\n"); return -EFAULT; } return 0; -- 2.11.4.GIT