Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5728EB673 for ; Tue, 12 Sep 2023 21:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IwdRANAKNkAz73JQd1L94J2Vsu+4m+A14zA+5F7oU6c=; b=T1rU8E2tQ6hhan6s8LZsl9+5r/ 8frjgHCawl1oyUVL707x3+yOYbo/mGo125VTZ8AinHaE5zgz/7PS+OgeagR9ztTcmWe/sGuId7r57 8x2qxHMV0RUZN+LxRgFtkkQYZIXtZ9yDvLjiz7rBeQJ8xrvXoP7GEoZJjbtNy9RSg3dHF/GetkMUx n1IfINYqX9vEfrss+ywXnNWtOsBmWCAz9epoc/6IEpXzY/xUcEVmnK+CvGrrYeYpye0uRhsQZ9/gu IqTdm8PZ92vZzSb8sTYcPhl3mXrAYYLrwHaHuSWxLQOIGYBHwhUZoSQo8QicI0q7/nBWG1hRaPvQY 2raA7T7w==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qgBGR-0049gv-1s; Tue, 12 Sep 2023 21:49:43 +0000 Date: Tue, 12 Sep 2023 14:49:43 -0700 From: Luis Chamberlain To: Daniel Gomez Cc: "kdevops@lists.linux.dev" , "jlayton@kernel.org" Subject: Re: [PATCH 0/5] Fix choice/endchoice kconfig options Message-ID: References: <20230912194908.939107-1-da.gomez@samsung.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912194908.939107-1-da.gomez@samsung.com> Sender: Luis Chamberlain On Tue, Sep 12, 2023 at 07:49:11PM +0000, Daniel Gomez wrote: > Hi, > > As you may know, Jeff Layton found the way to fix the choice/enchoice issue > by removing the redundant string the config selected is assigned to [1]. > > [1] 95f5695f fstests: remove redundant string prompts for fstype > > These patches are meant to fix that in the terraform section. While most of the > patches are trivial, I'd like to know what you guys think about dropping a > choice/endchoice config ("AWS name search") that depends on an previous > choice/endchoice option ("AWS AMI owner") but we keep the config that the first > multichoice was assigned to (TERRAFORM_AWS_NS). > > Hope I explained this correctly. Otherwise, please check patch [2] and ask any > question. > > [2] terraform: aws: hide TERRAFORM_AWS_AMI_OWNER and drop AWS name search > > Patch [3] it's the same but with less choice/endchoice configs and perhaps > simpler to see the intention. > > [3] terraform: aws: hide AWS availability region option > > Note: I did add/merge some spelling corrections. If you think it's too noisy > and not appropriate, I can make a separate commit for that. > > The other patches remove choice/endchoice if only one option is available as Jeff > suggested and/or hide the config by removing the redundant string. Looks all good, and goes tested by me, so: Acked-by: Luis Chamberlain Tested-by: Luis Chamberlain Please push! Luis