mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02: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:
committed by
Linus Torvalds
parent
756a025f00
commit
1170532bb4
@@ -174,9 +174,8 @@ int swap_cgroup_swapon(int type, unsigned long max_pages)
|
||||
|
||||
return 0;
|
||||
nomem:
|
||||
printk(KERN_INFO "couldn't allocate enough memory for swap_cgroup.\n");
|
||||
printk(KERN_INFO
|
||||
"swap_cgroup can be disabled by swapaccount=0 boot option\n");
|
||||
pr_info("couldn't allocate enough memory for swap_cgroup\n");
|
||||
pr_info("swap_cgroup can be disabled by swapaccount=0 boot option\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user