diff options
author | Joe Perches <joe@perches.com> | 2016-03-17 17:19:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 18:09:34 -0400 |
commit | 1170532bb49f9468aedabdc1d5a560e2521a2bcc (patch) | |
tree | 0197245ba37726d4ba7325e0de8129d45f8f49d9 /mm/backing-dev.c | |
parent | 756a025f00091918d9d09ca3229defb160b409c0 (diff) |
mm: convert printk(KERN_<LEVEL> to pr_<level>
Most of the mm subsystem uses pr_<level> so make it consistent.
Miscellanea:
- Realign arguments
- Add missing newline to format
- kmemleak-test.c has a "kmemleak: " prefix added to the
"Kmemleak testing" logging message via pr_fmt
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Tejun Heo <tj@kernel.org> [percpu]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
-rw-r--r-- | mm/backing-dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index c554d173a65f..bfbd7096b6ed 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -1026,8 +1026,8 @@ int pdflush_proc_obsolete(struct ctl_table *table, int write, | |||
1026 | 1026 | ||
1027 | if (copy_to_user(buffer, kbuf, sizeof(kbuf))) | 1027 | if (copy_to_user(buffer, kbuf, sizeof(kbuf))) |
1028 | return -EFAULT; | 1028 | return -EFAULT; |
1029 | printk_once(KERN_WARNING "%s exported in /proc is scheduled for removal\n", | 1029 | pr_warn_once("%s exported in /proc is scheduled for removal\n", |
1030 | table->procname); | 1030 | table->procname); |
1031 | 1031 | ||
1032 | *lenp = 2; | 1032 | *lenp = 2; |
1033 | *ppos += *lenp; | 1033 | *ppos += *lenp; |