Received: by 10.223.148.5 with SMTP id 5csp7465032wrq; Thu, 18 Jan 2018 05:56:55 -0800 (PST) X-Google-Smtp-Source: ACJfBotZNSpImKIit1Gdzcz7xOaJppcgouYxnxtWIGLnr69ZQlSD7nCssinS5m3pJIAkmz9YQ3M0 X-Received: by 10.98.160.25 with SMTP id r25mr27057504pfe.218.1516283815796; Thu, 18 Jan 2018 05:56:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516283815; cv=none; d=google.com; s=arc-20160816; b=wCDOYOI2lozgTvwtw4H81cFyLkGOdLPEiemsbeEm/glMcu+Bl/9k7MJ4pOw/+Oa7fZ Xy8ftVGzgZFXg5V6D/GY4BJm1on3aqcp6rHPxS8Z+bPJUVZLJCvFgZgPnMKIkrWi8Qd+ 3noCwJgyPhSl0P13vkTN3TQBuPhdZYEZlRXS9xSsnW5D0wE2VVBq2ZL+oDkDN78HjDoW nGONEQtOQnRpLSlb+NSS3Xcw3gV/4FhEeaHe2kVgjdDz+BFqGF3up4BEV013FLyROwRn 37TMA9v3voCRb5XsGMy0pmY66pz8xZlgQItXyrjQGh2aAvkp/MxXad4TZ4zFkqSKyI1m Vk/g== 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=Qtxp4Pz0eD/PjKiVTxM2BpDAhcfe9bydogPhlmC/zF8=; b=uL9ifAn7/AIuIFl51z9ztXjtPAJ+2fFqi4OElY1lxzWKm4syvbS9isko4//jACNYOm DKnktk2m1SMj+ZOpRxR/qsUP4p3usprG6455D7LncuwQPkF4WWdrhq4u2MLSVX5faXAO /YI+2hI4/CYSeMnrcwTRNTcdRrYDti3LaSPlgGXXFO/E+dVl+BTRyv2KlFnDjopIpTOK v2h1B/2/okStOS/zwxAvJe6LRHIwIfuZVjZtK6WbNKt2XrRcW+bNUTiBDhG6++HS8105 aVeKdnegQXcH/XRJ/hKPel8g5kRWQGQlyyimO4Jc63ULKF/6v53hOn6IxGDNcpx4xLYG TxFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1nELUIdv; 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 e13si5769994pgn.811.2018.01.18.05.56.41; Thu, 18 Jan 2018 05:56:55 -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=1nELUIdv; 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 S1756379AbeARNz4 (ORCPT + 99 others); Thu, 18 Jan 2018 08:55:56 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:38945 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756245AbeARNzz (ORCPT ); Thu, 18 Jan 2018 08:55:55 -0500 Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) (authenticated) by conssluserg-01.nifty.com with ESMTP id w0IDtdg7009454; Thu, 18 Jan 2018 22:55:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com w0IDtdg7009454 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1516283740; bh=Qtxp4Pz0eD/PjKiVTxM2BpDAhcfe9bydogPhlmC/zF8=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=1nELUIdvvx+FMO1hsLKJH1HLxnl85ywcP1ta+wIohV9/iRLF6nu5FYRqCUANFyXDB JCyiBcAljs7Q93fA0tZC72OWNLhEe63dOTIFhMO0dXgMERGe5fbuR78+7YvNUpkg6L B7s3q0rPam/13x2WRrNhjyxbcECghVEajc3X2V91cMl3V5/zjGXmdyWnZTxpFg7YCR I54pJFOFHwsPTexF5Qn5fYF9tHnSW+8TmkzVVtVl6KEGyFP5JHbulVoqHtQZA6usL3 KuOVqAFeifesE05IuRIZQlL9BGWZslhY0Qyaw7sJB+MHm+XC1FpJm9zlxQZE/ZLHXf nmdbY5QXLQQwA== X-Nifty-SrcIP: [209.85.217.174] Received: by mail-ua0-f174.google.com with SMTP id z6so859036uab.4; Thu, 18 Jan 2018 05:55:39 -0800 (PST) X-Gm-Message-State: AKwxytdNMuInODRyu01csKfTZ45kuHnC+zQZL1bIJpp+kIrhlaIoN3DA IGhjoLncLj8L0zwbZZ/EW7T2jvpXCDdxEzPgCYs= X-Received: by 10.176.22.205 with SMTP id g13mr4809257uaf.76.1516283738674; Thu, 18 Jan 2018 05:55:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.89.196 with HTTP; Thu, 18 Jan 2018 05:54:58 -0800 (PST) In-Reply-To: <20180114113820.19017-2-ulfalizer@gmail.com> References: <20180114113345.18623-1-ulfalizer@gmail.com> <20180114113820.19017-1-ulfalizer@gmail.com> <20180114113820.19017-2-ulfalizer@gmail.com> From: Masahiro Yamada Date: Thu, 18 Jan 2018 22:54:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] kconfig: Improve auto. menu documentation accuracy 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-14 20:38 GMT+09:00 Ulf Magnusson : > An 'if', 'menu', or 'choice' that depends on a preceding symbol will > also generate a submenu. > > No functional changes. Only comments updated. > > Signed-off-by: Ulf Magnusson > --- > scripts/kconfig/menu.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c > index 1f7bcceacde3..86031dc36f7d 100644 > --- a/scripts/kconfig/menu.c > +++ b/scripts/kconfig/menu.c > @@ -414,9 +414,10 @@ void menu_finalize(struct menu *parent) > menu_finalize(menu); > } else if (sym) { > /* > - * Automatic submenu creation. If sym, A, B, C, ..., are > - * consecutive symbols and A, B, C, ... all depend on sym, the > - * following menu structure will be created: > + * Automatic submenu creation. If sym is a symbol and A, B, C, > + * ... are consecutive items (symbols, menus, ifs, etc.) that > + * all depend on sym, then the following menu structure is > + * created: > * > * sym > * +-A > @@ -425,7 +426,7 @@ void menu_finalize(struct menu *parent) > * ... > * > * This also works recursively, giving the following structure > - * if B depends on A: > + * if A is a symbol and B depends on A: > * > * sym > * +-A > -- > 2.14.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html I squashed this into the previous patch: https://patchwork.kernel.org/patch/9991939/ Thanks! -- Best Regards Masahiro Yamada