Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7140944ybf; Fri, 6 Mar 2020 11:09:40 -0800 (PST) X-Google-Smtp-Source: ADFU+vsVKYGKij9ZVt+1we2wilWFCLATYo/xGgmHyWIimiUTxfVS7wGTCKitf+nnaa0FA/sAjI+Q X-Received: by 2002:a05:6830:1e14:: with SMTP id s20mr3813342otr.322.1583521780233; Fri, 06 Mar 2020 11:09:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583521780; cv=none; d=google.com; s=arc-20160816; b=m2PT9rRTdRazISbyzexJDpToRO5XPTviGF7ntSVYYRKbuUpfYax7uJlAiEQLnoBUhv jwH/6sp70I+L/LHKjmYg5mc76gVFHVw9VOD9dt7LQQfBJ8OzGY4QslkthAtcx19e0iFW vouG9i0Xj5KpGya6oMsy3iKmLhbN8sp0lmeEZ3pXoVwYtkejrK4S+G+if39toMz57Ddd lvICTwx/ChkSTbKp9M77PEr91B+EAN3MhU7KrRX9UBtR6gy5U1NCj4JYntWJ5CCfKOyT sL68EDOV3Yn5Za9Mgt+8rMTJrQpi5PRfJOzfaKCDWi+rb9PrPzHXryXvhdkuVufjHujx 6DFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=aNw1oLSnyY+IqFPK+mS6ULbOyaQHckbLBeD6OHOU1B0=; b=ZszR7s59uvDQbE/hAQkyrdiAXp6NFMOeORXnKW8nuIWEErTuCjsnSe5lC96b6Ric8W xc5GOCEKTgl/BZof5HCFW02v10FiZjl92GWGhCeSUXKglxI75z8m5OeO+xgngr+JfBek 5OrGGyNoKbq9Tgml8ySHyaVcXb5Ogdtgs0EAx6EOWoiMP0Mzk695N2glttsj+q31dNee yvVoqXmuBu9amwlYg64HQ/4LM37qBUGm+EFM4irqpWoqEqgOSP99/vMhG/SUBccI1mZp x9cnWQ3SLkPI2ICsjr+Gn9/BDl8YFLfglCREVsfKy9XL1Qq/O6FIvkdzxgyLepspPKFL u9nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OaIa4enx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h125si136962oia.253.2020.03.06.11.09.27; Fri, 06 Mar 2020 11:09:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OaIa4enx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726359AbgCFTIw (ORCPT + 99 others); Fri, 6 Mar 2020 14:08:52 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:34806 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbgCFTIw (ORCPT ); Fri, 6 Mar 2020 14:08:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=aNw1oLSnyY+IqFPK+mS6ULbOyaQHckbLBeD6OHOU1B0=; b=OaIa4enxq0qpBV1YJEBOGPT3JK oLaqb1aSglG+vJE2S/+NzW7SvENHmMmupUFNUBN3e7UehudigkZBNzcSo+8wiJEHwnA38faZXo9Xe e4R8iUUaoBLwilGi/LD2X+BYwgpn72GiJngTiWmmAL8dMBeGjcURtfvRgiUhU2NZUYkbul8yikp/G xubRP+hz/QqiaefkiH20j8P0VvRDmxFOdhR/3v4tRyFLLdlHqjb4i36uwCULvFoY1tF3MgcerSg4f syCTB84FOIDSJGIr/IRptaKb6eP8N7VNo9TgmUNIWliU8OvoWv/oLBBeaxFIv0qgGl0PViUkOE4FI 3PGvz5qg==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jAIL5-00006F-DT; Fri, 06 Mar 2020 19:08:51 +0000 Subject: Re: [PATCH 2/2] tty: source all tty/*/Kconfig files from tty/Kconfig To: Jiri Slaby , LKML , Greg Kroah-Hartman , Arnd Bergmann References: From: Randy Dunlap Message-ID: <8f97c998-8959-0d89-56d6-dbfb413df39c@infradead.org> Date: Fri, 6 Mar 2020 11:08:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/5/20 11:19 PM, Jiri Slaby wrote: > On 06. 03. 20, 0:45, Randy Dunlap wrote: >> From: Randy Dunlap >> >> 'source' (include) all of the tty/*/Kconfig files from >> drivers/tty/Kconfig instead of from drivers/char/Kconfig. >> This consolidates them both in source code and in menu >> presentation to the user. >> >> Suggested-by: Arnd Bergmann >> Signed-off-by: Randy Dunlap >> --- >> Follows [PATCH] char: group some /dev configs together and un-split tty configs >> as [PATCH 2/2], where [PATCH (1/2)] is here: >> https://lore.kernel.org/lkml/4e90d9af-c1ec-020f-b66b-a5a02e7fbe59@infradead.org/ >> >> >> drivers/char/Kconfig | 5 ----- >> drivers/tty/Kconfig | 6 ++++++ >> 2 files changed, 6 insertions(+), 5 deletions(-) >> >> --- linux-next-20200304.orig/drivers/char/Kconfig >> +++ linux-next-20200304/drivers/char/Kconfig >> @@ -7,9 +7,6 @@ menu "Character devices" >> >> source "drivers/tty/Kconfig" >> >> -source "drivers/tty/serial/Kconfig" >> -source "drivers/tty/serdev/Kconfig" >> - >> config TTY_PRINTK >> tristate "TTY driver to output user messages via printk" >> depends on EXPERT && TTY >> @@ -94,8 +91,6 @@ config PPDEV >> >> If unsure, say N. >> >> -source "drivers/tty/hvc/Kconfig" >> - >> config VIRTIO_CONSOLE >> tristate "Virtio console" >> depends on VIRTIO && TTY >> --- linux-next-20200304.orig/drivers/tty/Kconfig >> +++ linux-next-20200304/drivers/tty/Kconfig >> @@ -478,3 +478,9 @@ config LDISC_AUTOLOAD >> only set the default value of this functionality. >> >> endif # TTY >> + >> +source "drivers/tty/serial/Kconfig" >> + >> +source "drivers/tty/serdev/Kconfig" >> + >> +source "drivers/tty/hvc/Kconfig" > > Maybe sort them alphabetically? That way, you could move the hvc/Kconfig > and serial/Kconfig inside the if-endif above and remove the whole-file > if-TTYs in the 2. Hi Jiri, OK, I'll send a v2 with those changes. thanks. -- ~Randy