Commit 22e66956 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Rusty Russell

module: Add missing newline in printk call.

Add missing \n and also follow commit bddb12b3 "kernel/module.c: use pr_foo()".
Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent e865d06b
...@@ -815,10 +815,8 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user, ...@@ -815,10 +815,8 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
return -EFAULT; return -EFAULT;
name[MODULE_NAME_LEN-1] = '\0'; name[MODULE_NAME_LEN-1] = '\0';
if (!(flags & O_NONBLOCK)) { if (!(flags & O_NONBLOCK))
printk(KERN_WARNING pr_warn("waiting module removal not supported: please upgrade\n");
"waiting module removal not supported: please upgrade");
}
if (mutex_lock_interruptible(&module_mutex) != 0) if (mutex_lock_interruptible(&module_mutex) != 0)
return -EINTR; return -EINTR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment