From: Tomeu Vizoso Date: Thu, 22 Mar 2018 13:58:33 +0000 (+0100) Subject: printk: change message to pr_info X-Git-Tag: v4.19~1286^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47319f7186b8746521b0ee674054b29d7b35578b;p=platform%2Fkernel%2Flinux-rpi.git printk: change message to pr_info To allow userspace to prevent this message from appearing in the console by changing the log priority. This matches other informative messages that the power subsystem emits when the system changes power states. Link: http://lkml.kernel.org/r/20180322135833.16602-1-tomeu.vizoso@collabora.com To: linux-kernel@vger.kernel.org Cc: kernel@collabora.com Cc: Steven Rostedt Signed-off-by: Tomeu Vizoso Reviewed-by: Sergey Senozhatsky Signed-off-by: Petr Mladek --- diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index dc663f2..333f58e 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2161,7 +2161,7 @@ void suspend_console(void) { if (!console_suspend_enabled) return; - printk("Suspending console(s) (use no_console_suspend to debug)\n"); + pr_info("Suspending console(s) (use no_console_suspend to debug)\n"); console_lock(); console_suspended = 1; up_console_sem();