Messages in this thread | | | Date | Tue, 16 Feb 2016 15:44:02 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH v4 3/3] printk: check CON_ENABLED in have_callable_console() |
| |
On Sat 2016-02-13 03:37:12, Sergey Senozhatsky wrote: > have_callable_console() must also test CON_ENABLED bit, not just > CON_ANYTIME. We may have disabled CON_ANYTIME console so printk > can wrongly assume that it's safe to call_console_drivers(). > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Makes perfect sense.
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
| |