mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
756a025f00
commit
1170532bb4
20 changed files with 118 additions and 150 deletions
|
@ -1026,8 +1026,8 @@ int pdflush_proc_obsolete(struct ctl_table *table, int write,
|
|||
|
||||
if (copy_to_user(buffer, kbuf, sizeof(kbuf)))
|
||||
return -EFAULT;
|
||||
printk_once(KERN_WARNING "%s exported in /proc is scheduled for removal\n",
|
||||
table->procname);
|
||||
pr_warn_once("%s exported in /proc is scheduled for removal\n",
|
||||
table->procname);
|
||||
|
||||
*lenp = 2;
|
||||
*ppos += *lenp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue