Received: by 2002:aa6:c3ca:0:b029:c8:4414:5686 with SMTP id b10csp1819638lkq; Fri, 19 Mar 2021 12:40:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya/ZojJus+fxPO6AWvl6C44y2vH+uT0+TATdkhqYkVApbbV89Jlr3hAbT+KRDvPeYvxejh X-Received: by 2002:a17:906:bcfc:: with SMTP id op28mr6250421ejb.238.1616182840669; Fri, 19 Mar 2021 12:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616182840; cv=none; d=google.com; s=arc-20160816; b=jIAFj29q2rbTt/MiAD2FhhgQCFA+EvNLMdi/y1DVkNX6YJ8+4O+VAKDsaA58PO+qe3 2dW3Hx5RyqrGAhy16mjZtlNlE1iGUy3yj8WlU//14kCOkUdhtFUXPBObOgGSfSLEqycu W9RbEM1NAk6M/P+/l59LcfBZhiIvVtT3glRFHy7kfV+CuQG0AsgDI3Z82i6Llk8Fj6U2 cscneEg4XSRVluzBgO8NUT2/+eP2UJOR7WV3nodQM1Br5d6Ef+V1IfbqOZELYvkPML1N RtZSRdyKMYi/pSsozk9T8zHw0snApncKBmJ2foMI79RWjNgpwU2Cvt0bYQaPmNsav0en 5X2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=0gYqyiW16TyPFK3ZonOwm02JDX0IoTuaJ9gN7oAEEjg=; b=TgrRlZDFwEibgn2SUMeWyT32dq997EtmQntPOXxRJz72qS4BA/i430dP1WusbFh+fO rD0Al5PQ0B3dqiApTB4hnW50oOwlog9i2OKRd6PoLed2l5FLZfOVAl0eQ5PDkuYInzjz 7DzZlTmbkIl8ddghRrnc7UzLI1f9zIo56wMgjetqT2JQ1Kd9m9rcBviI6AL447clycRi UgJr9uuD7sjRbZWcI6FdYqz/esfFYVtCC/PoW40dWyJhnorl6yx51I6lZfbLLlFm0Kor F51Hd1Fh8rV996/Cp4ViY8Huu/R9CeN6+8l1hIRQUA1gpfcUe45cydZ5TEdJ3e/jITUF eyFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=njnK3kee; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si5122737edq.209.2021.03.19.12.40.17; Fri, 19 Mar 2021 12:40:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=njnK3kee; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230370AbhCSTh2 (ORCPT + 99 others); Fri, 19 Mar 2021 15:37:28 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:62655 "EHLO mail-40133.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbhCSThN (ORCPT ); Fri, 19 Mar 2021 15:37:13 -0400 Date: Fri, 19 Mar 2021 19:37:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1616182631; bh=0gYqyiW16TyPFK3ZonOwm02JDX0IoTuaJ9gN7oAEEjg=; h=Date:To:From:Cc:Reply-To:Subject:From; b=njnK3kee2zxOBQsk/q48Iy69hl9x5BxFySMzs788I+WjbpLz2bOy9qAiEQlvCpxcO 24768umobEF04tcoWrllUa3001a21fmFqX+sCZ+vYpD3WRmau412VZEI1qhkMHlMTG ZRd6DGEnqVnQOYoR+b2WFMVP8+MNP8KxgM/Tro0FB39UftPmyPaC0jC9zSWXSAgyI3 0Ykff8SXjUVbnusyCwxdkrTLuT5CcEqmi8URjhvypm5k9Ro+Bbdd/z5MoyV5GDxEiv qo1s2jGpVUJNGxJDNRt92sHBhi1CmBDbhA8+3ii3Hipwv4tSC/m3IlFbfVd5cKQ5BW 56MlYanqKZ8sg== To: Masahiro Yamada From: Alexander Lobakin Cc: Alexander Lobakin , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH RESEND 0/2] kconfig: fence choices and menuconfigs with comments in .config too Message-ID: <20210319193705.267922-1-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Comment blocks for menus are great for dotconfig readability, but currently it's the only type (beside plain comments) of submenus for which these block are generated. This series expands the code to also generate such blocks for choices and menuconfigs and additionally expands the comments themselves a bit to let know if they belong to choice or menu{,config} block. Alexander Lobakin (2): kconfig: fence choices and menuconfigs with comments in .config too kconfig: mention submenu type in comment blocks in .config scripts/kconfig/confdata.c | 43 +++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 14 deletions(-) -- 2.31.0