Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp337843pxm; Wed, 2 Mar 2022 16:45:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7TdIbMWtLwy4ZUEYotEsHA69Ot3lqUuILbQGt6T312kJm3LMJIwHAfM5LBB+gEuvanZBQ X-Received: by 2002:a17:90b:517:b0:1be:dde4:f848 with SMTP id r23-20020a17090b051700b001bedde4f848mr2511065pjz.233.1646268299926; Wed, 02 Mar 2022 16:44:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646268299; cv=none; d=google.com; s=arc-20160816; b=eqO3V8JChhmSJHHOm2jDeoiAocBaeTc4w1DW8nRqRG0agt4JgVjyiIOq/lLFN/x7vg ZWCQ9g43OkdKOX9WVBFMudzevKV/4AtaHLmu+TB/a5Ex3vVnF1vIIDnqK5+OFfWM5pzY HrAADsh6/2z7Z7SI3NUohC0Uos2MyuRXRp0fOKDdiF8ep9nHJJaETWTttpFqj5xsybu+ 0EhTGUC9uj8uImW9Oo2/bEzsC4A8z4s61rUWbLwxOg2IHHZEySsvEz1Oj4EZjMrBDQj9 Hg0Pn99cRAqmEpNUEoc4HKC+oCQsfZKWzKmfBueavq77xmEHTzbRp5dzGhQN49BFaHk8 RgYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=1GjC9yWawG+f9/7QP15mK3z9L/3WiA7vCZuCL3HZ/ck=; b=TJ3aOc1L/SMPllSpG2Z9erQeePc23xg6H/FhDSNDSW3S+w1PlP3steevQXR0F6adBm uehZb9ex9FCZx24XYT5VPU8DljteyoUjcanvMcIHrTrTu8wXQOfnSTXkC87TZFtxlJlq iKA+yYSnIFc1OQ/dqD38WKnt0p12kPjqY1ZvRrY9hSdBBdTbie7qTrkToVkRAPcpd5Bj POgXt+fuLOOxRADVz3AoD9lAPdOVWwqevJNyOO6u/NUlZHmsu7aG+rK33GbDwrYoI65+ eVrmu4qwXc+X2tNMZX3imfwDvEJ79qOFeB6ig9GS6/9kWyT8IK6UlsVD7dyS5jU7/Aul u3jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="NKGLhqH/"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c16-20020a6566d0000000b0037447eee163si622326pgw.581.2022.03.02.16.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:44:59 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="NKGLhqH/"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3EDE336B76; Wed, 2 Mar 2022 16:02:56 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbiCCADc (ORCPT + 99 others); Wed, 2 Mar 2022 19:03:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbiCCADX (ORCPT ); Wed, 2 Mar 2022 19:03:23 -0500 Received: from conssluserg-04.nifty.com (conssluserg-04.nifty.com [210.131.2.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34CDB205E0; Wed, 2 Mar 2022 16:02:38 -0800 (PST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 2230255c029376; Thu, 3 Mar 2022 09:02:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 2230255c029376 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1646265726; bh=1GjC9yWawG+f9/7QP15mK3z9L/3WiA7vCZuCL3HZ/ck=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NKGLhqH/8mKIE4g16dYZk/L6M7ik/8e6QSzSPnBskQWr+t4IVxZpgOewQNsjXIUQs 3k9zOisBbUOsWN5JeeFBvPJnxny+kgqGydth9aNTxDjutVWV1phP/poVez4DzDV+YQ Olxupv1WEVnbZsxLxcCtrvOF9gJwlNtdxtjhLzjGfdg+xD34W67yirbOBVwUWQJxT5 APM+OwypDnmPKXewHxcmM0z/EJoYUYxnqx7ZoaUketWqPeIiEIeOUNiVdrC1IgxyKp PcXOqG80ErZdSkqNiX4fN9auVaMTnuPcFvB7Xiz+CwXlcWxggzMmmqjC3TlroHFDI/ 7OxcpgDqUO1+w== X-Nifty-SrcIP: [209.85.215.176] Received: by mail-pg1-f176.google.com with SMTP id o8so3010598pgf.9; Wed, 02 Mar 2022 16:02:05 -0800 (PST) X-Gm-Message-State: AOAM532nSsXtVlxZAVTgh4TdqF2PrwQthnfaGuwkvijrJq7Tk/QyDhZr bOFMmQJRwFrAEUa6nEVAK/z1FYJoCfgDNKiyKac= X-Received: by 2002:a63:e758:0:b0:378:8511:cfe7 with SMTP id j24-20020a63e758000000b003788511cfe7mr17071801pgk.126.1646265725034; Wed, 02 Mar 2022 16:02:05 -0800 (PST) MIME-Version: 1.0 References: <20220226123755.85213-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Thu, 3 Mar 2022 09:01:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: change .config format to use =n instead of "is not set" To: Boris Kolpackov Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 2, 2022 at 10:17 PM Boris Kolpackov wrote: > > Masahiro Yamada writes: > > > With this commit, Kconfig will output disable options in a more natural > > form, "CONFIG_FOO=n". > > While I agree with the overall direction, I was wondering how this > relates to string and int/hex options. It appears that they either > have a value or are not written to the .config at all, for example, > if the option is disabled via the `depends on` attribute. At first > I thought this would be inconsistent (i.e., =n for bool and omitted > for string), but it appears a disabled bool option is also omitted. > Hopefully the fact that sometimes a false bool option is =n and > sometimes it's omitted won't surprise anyone. Options with unmet 'depends on' are all omitted in the .config It is consistent for all types. > > Reviewed-by: Boris Kolpackov -- Best Regards Masahiro Yamada