Commit 22e669568d5195af10bd2f404f9c1809541ad77b
Committed by
Rusty Russell
1 parent
e865d06b17
Exists in
master
and in
16 other branches
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>
Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff
kernel/module.c
... | ... | @@ -815,10 +815,8 @@ |
815 | 815 | return -EFAULT; |
816 | 816 | name[MODULE_NAME_LEN-1] = '\0'; |
817 | 817 | |
818 | - if (!(flags & O_NONBLOCK)) { | |
819 | - printk(KERN_WARNING | |
820 | - "waiting module removal not supported: please upgrade"); | |
821 | - } | |
818 | + if (!(flags & O_NONBLOCK)) | |
819 | + pr_warn("waiting module removal not supported: please upgrade\n"); | |
822 | 820 | |
823 | 821 | if (mutex_lock_interruptible(&module_mutex) != 0) |
824 | 822 | return -EINTR; |