The patch titled Subject: printk: check CON_ENABLED in have_callable_console() has been removed from the -mm tree. Its filename was printk-check-con_enabled-in-have_callable_console.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> Subject: printk: check CON_ENABLED in have_callable_console() 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@xxxxxxxxx> Reviewed-by: Petr Mladek <pmladek@xxxxxxxx> Cc: Jan Kara <jack@xxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Kyle McMartin <kyle@xxxxxxxxxx> Cc: Dave Jones <davej@xxxxxxxxxxxxxxxxx> Cc: Calvin Owens <calvinowens@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/printk/printk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN kernel/printk/printk.c~printk-check-con_enabled-in-have_callable_console kernel/printk/printk.c --- a/kernel/printk/printk.c~printk-check-con_enabled-in-have_callable_console +++ a/kernel/printk/printk.c @@ -2146,7 +2146,8 @@ static int have_callable_console(void) struct console *con; for_each_console(con) - if (con->flags & CON_ANYTIME) + if ((con->flags & CON_ENABLED) && + (con->flags & CON_ANYTIME)) return 1; return 0; _ Patches currently in -mm which might be from sergey.senozhatsky@xxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html