lkml.org 
[lkml]   [2016]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 3/3] printk: check CON_ENABLED in have_callable_console()
On (02/16/16 15:44), Petr Mladek wrote:
> 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>

thanks.

-ss

\
 
 \ /
  Last update: 2016-02-16 17:01    [W:0.050 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site