Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4208668imb; Wed, 6 Mar 2019 07:54:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwtv4A5RpvG8HRVpibhdb+Ior9HvK9A1vfB/QypAN+yoCrR/bJmuwBc62JKY/DXdlAyNWJ3 X-Received: by 2002:a63:305:: with SMTP id 5mr6879283pgd.57.1551887671517; Wed, 06 Mar 2019 07:54:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551887671; cv=none; d=google.com; s=arc-20160816; b=mXzQRW0BHs3VWGLKmMI7DAJt7dikTLBxqYPuayfzGKBfum7EMQqwobjh24IsfEckCI j1eyzvMAnYM9HKK2QILOic4d5aHvN+hdZuZ3Sfk4NGZcMVXe5/Wk8GQKzVA1GpV8jlZ2 t7JvNSDpWE7QIFMI4/8pEt0yY34JZO3kl4SaSw30igkRoBJB3b+JlFcy+5R011hY+i7V NLst8tJqzy7EqFFuY88sc+SZKaIq2j3YB0HG+02+n2c14lfDY/ba0cJbPNDgWlsLugEm N2xT12k/3cYt9fq2xOv+vaDK+JkGvyL1nMsk7RTHKvtsYFIQ32+hzT9GMj7xl0c1rhqA hyIQ== 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:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=0O7zhgysoFtJILm6WaA3yOk+LuyLc7HGXJ2fVHthsyU=; b=yvic4dk4XMjaVnIB6ieJbsPXZwUn6HCyq4/eGRYbM7q1gTgIag58H/LpHnp30ehNAV Iqhx5cmWJ1kdDYtZzQvwT5pxx35LlYmlS/0ZSmZdNLLmeZDmevuhC1dHCcsGtyAYZJzf BCEdxJ5RbeEorPSi3zVVvKqKyU1a1tAoe4MP2FRWOUn7eajnFibC3l+9K9HThm/p1moJ 2pGewa1SX+NIpGhASdzeB9dFCdFfAOeQ8VVCkh9rSyrOiZRSQfSI42CzcWkPYabRGdIy Oa2CZvarHDdW/viZrp5foVawDwAVMBoXUIjexGF29i1bDe9oBauztbuR0SKsMWDzXLml GHQA== 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 l12si1866449plc.0.2019.03.06.07.54.16; Wed, 06 Mar 2019 07:54:31 -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 S1728593AbfCFPId convert rfc822-to-8bit (ORCPT + 99 others); Wed, 6 Mar 2019 10:08:33 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:59306 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727181AbfCFPId (ORCPT ); Wed, 6 Mar 2019 10:08:33 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id CE00E14CEA; Wed, 6 Mar 2019 15:08:31 +0000 (GMT) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Miguel Ojeda Cc: linux-kernel , Ksenija Stanojevic , Willy Tarreau , Geert Uytterhoeven Subject: Re: [PATCH 1/3] auxdisplay: deconfuse configuration References: <20190301184816.784-1-mans@mansr.com> Date: Wed, 06 Mar 2019 15:08:31 +0000 In-Reply-To: (Miguel Ojeda's message of "Wed, 6 Mar 2019 11:14:45 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miguel Ojeda writes: > On Fri, Mar 1, 2019 at 7:48 PM Mans Rullgard wrote: >> >> The auxdisplay Kconfig is confusing. It creates two separate menus >> even though the settings are closely related. Moreover, the options >> for setting the boot message depend on CONFIG_PARPORT even though they >> are used by drivers that do not. >> >> Clear up the confustion by moving the "Parallel port LCD/Keypad" menu > > "confustion" -> "confusion" Darn, must have been confused while typing. >> under auxdisplay where it logically belongs. Change the boot message >> options to depend only on CONFIG_CHARLCD, making them accessible also >> when only the HD44780 is selected. >> >> Since the "Parallel port LCD/Keypad" driver now has a new dependency >> on CONFIG_AUXDISPLAY, rename its Kconfig symbol and keep the old one >> such that make oldconfig will not disable the driver. >> >> Signed-off-by: Mans Rullgard >> --- >> drivers/auxdisplay/Kconfig | 17 ++++++++++++----- >> drivers/auxdisplay/Makefile | 2 +- >> 2 files changed, 13 insertions(+), 6 deletions(-) >> >> diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig >> index 57410f9c5d44..7d3fe27d6868 100644 >> --- a/drivers/auxdisplay/Kconfig >> +++ b/drivers/auxdisplay/Kconfig >> @@ -164,9 +164,7 @@ config ARM_CHARLCD >> line and the Linux version on the second line, but that's >> still useful. >> >> -endif # AUXDISPLAY >> - >> -menuconfig PANEL >> +menuconfig PARPORT_PANEL > > Do we want the PARPORT_ prefix here but not on the suboptions? I was trying to bring some sanity to it without changing more than necessary. > Also, having PANEL_PARPORT and PARPORT_PANEL seems confusing... It is... >> tristate "Parallel port LCD/Keypad Panel support" >> depends on PARPORT >> select CHARLCD >> @@ -178,7 +176,7 @@ menuconfig PANEL >> compiled as a module, or linked into the kernel and started at boot. >> If you don't understand what all this is about, say N. >> >> -if PANEL >> +if PARPORT_PANEL >> >> config PANEL_PARPORT >> int "Default parallel port number (0=LPT1)" >> @@ -419,8 +417,11 @@ config PANEL_LCD_PIN_BL >> >> Default for the 'BL' pin in custom profile is '0' (uncontrolled). >> >> +endif # PARPORT_PANEL >> + >> config PANEL_CHANGE_MESSAGE >> bool "Change LCD initialization message ?" >> + depends on CHARLCD >> default "n" >> ---help--- >> This allows you to replace the boot message indicating the kernel version >> @@ -444,7 +445,13 @@ config PANEL_BOOT_MESSAGE >> An empty message will only clear the display at driver init time. Any other >> printf()-formatted message is valid with newline and escape codes. >> >> -endif # PANEL >> +endif # AUXDISPLAY >> + >> +config PANEL >> + tristate "Parallel port LCD/Keypad Panel support (OLD OPTION)" > > Hm... what do you mean by "OLD OPTION"? Should we keep it? (I don't > see any other place using this marking). The option is there so 'make oldconfig' on existing configurations doesn't silently drop that driver since it now depends on AUXDISPLAY. There have been similar cases when shuffling options. Maybe they used a different tag. We could of course let the three people using that driver deal with it themselves. >> + depends on PARPORT >> + select AUXDISPLAY >> + select PARPORT_PANEL > > I agree the menu was a bit convoluted and we didn't get to clean it. > > Since you are touching the panel.c options, CC'ing the maintainers > (please do run get_maintainer.pl in that case!) I always run get_maintainer.pl on patches. Sometimes it isn't clever enough to figure out all the people who might be interested. -- M?ns Rullg?rd