aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2014-01-20 18:28:00 -0500
committerRusty Russell <rusty@rustcorp.com.au>2014-01-20 18:29:16 -0500
commit22e669568d5195af10bd2f404f9c1809541ad77b (patch)
tree70056b891f3dc6356bed8013a0a8e3462fbba53b /kernel/module.c
parente865d06b1798746b85340777332b0e6f50e95ab7 (diff)
module: Add missing newline in printk call.
Add missing \n and also follow commit bddb12b3 "kernel/module.c: use pr_foo()". Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/module.c b/kernel/module.c
index f5a3b1e8ec51..d24fcf29cb64 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -815,10 +815,8 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
815 return -EFAULT; 815 return -EFAULT;
816 name[MODULE_NAME_LEN-1] = '\0'; 816 name[MODULE_NAME_LEN-1] = '\0';
817 817
818 if (!(flags & O_NONBLOCK)) { 818 if (!(flags & O_NONBLOCK))
819 printk(KERN_WARNING 819 pr_warn("waiting module removal not supported: please upgrade\n");
820 "waiting module removal not supported: please upgrade");
821 }
822 820
823 if (mutex_lock_interruptible(&module_mutex) != 0) 821 if (mutex_lock_interruptible(&module_mutex) != 0)
824 return -EINTR; 822 return -EINTR;