Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754312AbbBDHh0 (ORCPT ); Wed, 4 Feb 2015 02:37:26 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:54131 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287AbbBDHhW (ORCPT ); Wed, 4 Feb 2015 02:37:22 -0500 From: Arnd Bergmann To: Yoshinori Sato Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v3] Add ARCH_MIGHT_HAVE_VGA_CONSOLE Date: Wed, 04 Feb 2015 08:37:16 +0100 Message-ID: <2520649.mPxvSuP2QL@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <87a90ujjrf.wl-ysato@users.sourceforge.jp> References: <877fw093oa.wl-ysato@users.sourceforge.jp> <87a90ujjrf.wl-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:qbI+s+TfILY4ffNLGRwuFHj4DGur8y+e/Lm/FCzhprJsWbvLkBj GlzqsytGdjKso02r3TdwuGJ5S2OOWUOf1LxfiYAfYtlw8EHU/1v4sLy11Y7L8xGENxMdXZT zVfalcKqbR4dysZI02tinFBV5I3QxAqss1+nDpI3sdS8wj46S8yzu38sXNCBiHE+OHVTYIu PhmU+0quL3KgaZfBfA3UQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 790 Lines: 26 On Wednesday 04 February 2015 15:03:32 Yoshinori Sato wrote: > @@ -2,14 +2,14 @@ > # Video configuration > # > > +config ARCH_MIGHT_HAVE_VGA_CONSOLE > + bool > + > menu "Console display driver support" > > I just noticed one more problem: The file that you add the option to is conditional on CONFIG_VT, and that option is user-selectable. If VT is disabled, you will get a warning from architectures that select the symbol. I think you should move the statement above into drivers/video/Kconfig, outside of the 'if VT'. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/