From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752041AbdFPCCN (ORCPT ); Thu, 15 Jun 2017 22:02:13 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:32982 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbdFPCCM (ORCPT ); Thu, 15 Jun 2017 22:02:12 -0400 Date: Fri, 16 Jun 2017 11:02:18 +0900 From: Sergey Senozhatsky To: Petr Mladek Cc: Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Andrew Morton , Peter Zijlstra , Aleksey Makarov , Sabrina Dubroca , Sudeep Holla , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] printk/console: Clean up logic around fallback console Message-ID: <20170616020218.GC465@jagdpanzerIV.localdomain> References: <1497358444-30736-1-git-send-email-pmladek@suse.com> <1497358444-30736-3-git-send-email-pmladek@suse.com> <20170614083803.GB3011@jagdpanzerIV.localdomain> <20170615153136.GD23337@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170615153136.GD23337@pathway.suse.cz> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (06/15/17 17:31), Petr Mladek wrote: [..] > > diff --git a/include/linux/console.h b/include/linux/console.h > > index b8920a031a3e..a2525e0d7605 100644 > > --- a/include/linux/console.h > > +++ b/include/linux/console.h > > @@ -127,7 +127,7 @@ static inline int con_debug_leave(void) > > */ > > > > #define CON_PRINTBUFFER (1) > > -#define CON_CONSDEV (2) /* Last on the command line */ > > +#define CON_CONSDEV (2) > > The description is wrong. The name and the use suggest that > it should be something like: > > #define CON_CONSDEV (2) /* Driver used by /dev/console */ that's better, indeed. > There are some situations (bugs) where this is not true. true. -ss