]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
module: Add missing newline in printk call.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 20 Jan 2014 23:28:00 +0000 (09:58 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jan 2014 23:29:16 +0000 (09:59 +1030)
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>
kernel/module.c

index f5a3b1e8ec5137395fba2b42165aeb972f0530d0..d24fcf29cb64c16029857a89dbcdeaa1ef9d724a 100644 (file)
@@ -815,10 +815,8 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
                return -EFAULT;
        name[MODULE_NAME_LEN-1] = '\0';
 
-       if (!(flags & O_NONBLOCK)) {
-               printk(KERN_WARNING
-                      "waiting module removal not supported: please upgrade");
-       }
+       if (!(flags & O_NONBLOCK))
+               pr_warn("waiting module removal not supported: please upgrade\n");
 
        if (mutex_lock_interruptible(&module_mutex) != 0)
                return -EINTR;