Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6540588ybf; Thu, 5 Mar 2020 23:20:59 -0800 (PST) X-Google-Smtp-Source: ADFU+vtyg+/va5D3J5GMfr9zrqPtmE6RR9lOWVx/+BLRISilRqj/lanN1YX2SByFKkn7la+Dw0fZ X-Received: by 2002:a9d:64d4:: with SMTP id n20mr1328821otl.193.1583479259812; Thu, 05 Mar 2020 23:20:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583479259; cv=none; d=google.com; s=arc-20160816; b=WJ3uRWlpGyRtfNEDWZn3qnX2QfWYRhgKcJwEx9PzljqobO7MlBuMdXzf+thkgyYjhl Ih8dSuS9IWovaO6rsOwBtyLPz2jh7/jxUnG2pOBXldOP6MP0hdvBc2Mtgm8mDkPnnDvA JMImA0wKWALH28Ol7qbarwI2Nf0EQav3g7hW//7EJQ/TWcRAqpFZZf9ZoXalylKYm6W0 /KWJ+NBrwqfX01RPAI/vUGbY0lf54tSsO0SEVLTQzjhSq6OgXEM/xKDKtKMMxwi3cQ0o Qp/SFRhdx27DJBja0gDad5I1dDihs1kjFsu4+fakdhvIQDYp3S+Fe2OzWq/GrYXWDJFE q9fg== 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:autocrypt:from:references:to:subject; bh=E6cQouac72xMKeTeUbrW6BVd4FbRmkb4Xq2Ggxxmg3U=; b=qlU/MXsHLpEGdcPFEXAOT8I9DJqIgMFw/caev0BRCILzrW3vQyrcF3Da0MYuhbDZX2 Hoi3G+Va82ek3xS7xG5TWu6K2KmQBYRrrrt6GpLoXKMSiQXqFl8gwvAg6QTdqoGa+Qev o9jMsyK8Rnt2CoTQfFLb32+oo1MXoADYaNjsYAMPMKnycAVonJKNDzO2YeHiTYFu9PEw 5gdgx61w9udTcNYJli9VuNdguYlrCDu/8sIm9zdPRK3vYUGqMUffm45OArbUP47d7g1C LAe0ND/yUY45bq4xH2d7mBeLxyKiFRL9txBF+pPDbL4mogaAPh+jiq2n+HRbFkd45JfB xVJQ== ARC-Authentication-Results: i=1; mx.google.com; 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 q26si866174otc.254.2020.03.05.23.20.47; Thu, 05 Mar 2020 23:20:59 -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; 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 S1725908AbgCFHUA (ORCPT + 99 others); Fri, 6 Mar 2020 02:20:00 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36532 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbgCFHUA (ORCPT ); Fri, 6 Mar 2020 02:20:00 -0500 Received: by mail-wm1-f66.google.com with SMTP id i14so1192180wmb.1 for ; Thu, 05 Mar 2020 23:19:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=E6cQouac72xMKeTeUbrW6BVd4FbRmkb4Xq2Ggxxmg3U=; b=J/Mn+CL/guGyLimjrlSy8k3NU6EDxG10GmH5bAD6hSk+WHVMQFknZVvnfVtDWrYBI4 mCaB+1fiSMScX76dBdGrSXJrUoX/H6lseoRcF7CTfSTsR+tkrm6uHdTQAadZ3pX9KGIe RQQJskINyicNI2ouOk7oFZW7j7cdhZ4BmTgHbuyYD63MEVA+70T7CALyWly2A7GahvZs VCGlB5n32LeOVIj08HnA1NSA02eTvUBbw65+UPAmHmRIwM/E7QRwKmwUbuIVUzIvLmc8 rcNvBk5IhDT2QywApFwq2vTFICf6mdAFV6O2QgRaF7lbYlgHQwjhQf9jSclRlCBYs1i4 HJIw== X-Gm-Message-State: ANhLgQ0JKyVvnT3BpQvHq0eCIdRZo6GtoMlrAuv8E+QG87wpyUIcaTdx yjkSCGp072OsathpPi9MN3s= X-Received: by 2002:a1c:2d86:: with SMTP id t128mr2457044wmt.38.1583479196472; Thu, 05 Mar 2020 23:19:56 -0800 (PST) Received: from ?IPv6:2a0b:e7c0:0:107::70f? ([2a0b:e7c0:0:107::70f]) by smtp.gmail.com with ESMTPSA id r28sm50391099wra.16.2020.03.05.23.19.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Mar 2020 23:19:55 -0800 (PST) Subject: Re: [PATCH 2/2] tty: source all tty/*/Kconfig files from tty/Kconfig To: Randy Dunlap , LKML , Greg Kroah-Hartman , Arnd Bergmann References: From: Jiri Slaby Autocrypt: addr=jslaby@suse.com; prefer-encrypt=mutual; keydata= mQINBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdl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WussMAlnxjmKhZyb30m1IgjFfG30UloZzUGCyLkr/53JMovAswmC IHNtXHwb58Ikn1i2U049aFso+WtDz4BjnYBqCL1Y2F7pd8l2HmDqm2I4gubffSaRHiBbqcSB lXIjJOrd6Q66u5+1Yv32qk/nOL542syYtFDH2J5wM2AWvfjZH1tMOVvVMu5Fv7+0n3x/9shY ivRypCapDfcWBGGsbX5eaXpRfInaMTGaU7wmWO44Z5diHpmQgTLOrN9/MEtdkK6OVhAMVenI w1UnZnA+ZfaZYShi5oFTQk3vAz7/NaA5/bNHCES4PcDZw7Y/GiIh/JQR8H1JKZ99or9LjFeg HrC8YQ1nzkeDfsLtYM11oC3peHa5AiXLmCuSC9ammQ3LhkfET6N42xTu2A== Message-ID: Date: Fri, 6 Mar 2020 08:19:54 +0100 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 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. thanks, -- js suse labs