Received: by 10.223.176.46 with SMTP id f43csp1990164wra; Sun, 21 Jan 2018 08:46:41 -0800 (PST) X-Google-Smtp-Source: AH8x224o68FgKSGb/Sn/7ZRqw8hNMEpq021H8lA2qSw/Gn/J9hB66f+h5X92UDuVIgx2CIFaABd4 X-Received: by 10.101.98.193 with SMTP id m1mr973333pgv.174.1516553201274; Sun, 21 Jan 2018 08:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516553201; cv=none; d=google.com; s=arc-20160816; b=keJszXZi/YI1aXlnlGYwKohyFFxxGu+KToWvbSuYy70eSAQLIEWlDBA4M55cgdTjb9 86E7ZgiR4PJ1L5NIH22icnqbzy3az9H9zMr6NFcoUDx2WSIgohwrg/g7YM9t9+5DOJUm HQD7f0LUZHadqO+fb5vI8ER2gfpgevj4cjRHAIoNHZVz8Dj79fyTZpRYAKyEXkp6dsvi z1nvHbdvQo0VjLyzfp8Txa1Ab9pit3YCuIQT9o6DRvlzzNEbUbXGPj8eXg2hH29ML1J7 6M5nM8APLp0XdIunMkTqtcrWOSKBQ9QCSf/JuQD4EzjcWeWY7LZdV57Bzdw+DdsIUuwV iSqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=OaKhLD4zH8xg/7880XL0AooP0ThLvSQ+FF78sDnOzmk=; b=KL+BFR1LLsWVfljKeCtGXVij//Drs9xMX5M294kT/xRLXOPXCf5a2pMDExW81XY1tZ vXtJZzKW4pJC80h0uqDThiRKMqGRC4+h9eUt7QxxHQpMkoa2IaKU6ByNt1YTKB6F9+Ei dOKjggW+sQlvqr1nxo99rz1K8+r54XDuy+QsEdqGJQ7EICsnLoVid7U3AO3Lr1NoyWUb NvdwUOj1oMySstTlpm6mF+N/gmLOwb6gc55Xyd5qfqYQwwrZYaA4jKsyj3rz5IZM3vSM IFCvfLb+/bxs2dmOT5wezfLH95eZP8JyBM90HZ8zHlK5Kpp483O324cp7APkIiiAH74i Jh7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=a4GI/6pH; 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 ay8-v6si2657594plb.52.2018.01.21.08.46.27; Sun, 21 Jan 2018 08:46:41 -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=pass header.i=@nifty.com header.s=dec2015msa header.b=a4GI/6pH; 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 S1751317AbeAUQpn (ORCPT + 99 others); Sun, 21 Jan 2018 11:45:43 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:24984 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912AbeAUQpm (ORCPT ); Sun, 21 Jan 2018 11:45:42 -0500 Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) (authenticated) by conssluserg-05.nifty.com with ESMTP id w0LGjV1J010437; Mon, 22 Jan 2018 01:45:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com w0LGjV1J010437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1516553132; bh=OaKhLD4zH8xg/7880XL0AooP0ThLvSQ+FF78sDnOzmk=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=a4GI/6pHo+AQRnR7ojFtAXi2kn2yt0zlbBYq6j7S9bSI5QD/YU1eq943QBYuqtokF kqoJ7r27w6UegeSa+vGXDISrNhod2UK17T6gyHz6o4fvVQEXdCfFtHKVOiXKIp8WPs OsgpyBhYfRLVtF+Rpuz96wawfixf6M0uc82Yl+isU0+opW6bot02c5gglBJM3nt6zk ipYKepoua5Q7SmRHwpgJ8ZcMDAZfSRP/++Nvj3+HZEE0aGAHqQbSa6IVEdtA6OjtTI b3BXqe1uy3UOyf8wF6Rx4+EmXOULXYt9weoiX0HqKuRYOHYv7ERpg6DhZJvgjUv1tw BIswIxCI8cZYA== X-Nifty-SrcIP: [209.85.217.170] Received: by mail-ua0-f170.google.com with SMTP id p12so1689314uad.0; Sun, 21 Jan 2018 08:45:32 -0800 (PST) X-Gm-Message-State: AKwxytfvxZBYnNzujSmIArvWJytxAzhTP1VbOSeBk/MAeUIn2FX0RATF jq6GdOn6GzBTDuwjAG1UDSsJicUXI2E1vAifxIA= X-Received: by 10.176.5.70 with SMTP id 64mr2552879uax.87.1516553131009; Sun, 21 Jan 2018 08:45:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.49.90 with HTTP; Sun, 21 Jan 2018 08:44:50 -0800 (PST) In-Reply-To: References: <20180114141205.26814-1-ulfalizer@gmail.com> From: Masahiro Yamada Date: Mon, 22 Jan 2018 01:44:50 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: Clarify choice dependency propagation To: Ulf Magnusson Cc: Linux Kbuild mailing list , Sam Ravnborg , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-01-19 11:29 GMT+09:00 Masahiro Yamada : > Hi Ulf, > > > 2018-01-19 1:58 GMT+09:00 Ulf Magnusson : >> On Thu, Jan 18, 2018 at 5:47 PM, Masahiro Yamada >> wrote: >>> 2018-01-14 23:12 GMT+09:00 Ulf Magnusson : >>>> It's easy to miss that choices are special-cased to pass on their mode >>>> as the parent dependency. >>>> >>>> No functional changes. Only comments added. >>>> >>>> Signed-off-by: Ulf Magnusson >>>> --- >>>> scripts/kconfig/menu.c | 7 +++++++ >>>> 1 file changed, 7 insertions(+) >>>> >>>> diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c >>>> index 92d3f06cd8a2..53964d911708 100644 >>>> --- a/scripts/kconfig/menu.c >>>> +++ b/scripts/kconfig/menu.c >>>> @@ -323,6 +323,13 @@ void menu_finalize(struct menu *parent) >>>> if (menu->sym && menu->sym->type == S_UNKNOWN) >>>> menu_set_type(sym->type); >>>> } >>>> + >>>> + /* >>>> + * Use the choice itself as the parent dependency of >>>> + * the contained items. This turns the mode of the >>>> + * choice into an upper bound on the visibility of the >>>> + * choice symbols. >>>> + */ >>> >>> Does the last "choice symbols" mean "choice values"? >>> The "choice" itself is a symbol with NULL name, >>> so I'd like to clarify it. >> >> Yep, means the choice values (which are symbols). "Choice values" >> would probably be clearer, yeah, or maybe "choice value symbols". >> >> Should I submit a new version? I'm fine with just a >> 's/symbols/values/' or 's/symbols/value symbols/' otherwise. >> >> Cheers, >> Ulf > > > It is trivial, so I will locally fix it up. > > s/symbols/value symbols/ > Applied to linux-kbuild/kconfig with s/symbols/value symbols/. Thanks! -- Best Regards Masahiro Yamada