Received: by 2002:ac2:5a04:0:0:0:0:0 with SMTP id q4csp382818lfn; Wed, 2 Mar 2022 09:18:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOYleBVr654x/7Au/ocMwUoUTP1raGVUrO6pP9y+N4elSLpjejVGBCFAtF9SkCnLMKF1C9 X-Received: by 2002:a17:907:e92:b0:6da:8434:1408 with SMTP id ho18-20020a1709070e9200b006da84341408mr601972ejc.274.1646241519666; Wed, 02 Mar 2022 09:18:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646241519; cv=none; d=google.com; s=arc-20160816; b=oGIqvar2CVnGk6mVA9t7mhKpFOGoGWvgrHXD4gcLJy3vEhRQZsru53l6ticaiZ6aUt Q+hv0bSD4V/ITltp6ElMLjAj9m4Xn12x3xs0kIMu8Gy/WdQlTM2EujMpa4+K7hUHn0Sd 2exxvEtXsNN6WOuKfWHp2ICmSQYg9shqK5wCPZc3RV+rMBdXXmTnYRv/kjfkijrj5cqN W7eNOGwFurlcoVxvqcrhLbjSJ34GU3Op7wxE2umkSsyafszoGiCaXrW00JjK/EKLse3G Yai3cB4i2wxomcq0yprikgSDDapud+z7ziow6Kd4axSoawls6RU/0wu8ubAoCECmvfBk VOtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UOjLTGh9VnGwEHppHHwqZk2iztOOX8qewpK+K/jJ+xM=; b=f6JENR8g/dXVCg5uYXmQt4gJFyi2ja7Fn9apZWRXuD+Iw6U63ihpuAC6+i58AJqZ5l hJZ43ZcHfrg2jIUvknx7D0MedRCYMhVKgPKJIVK0pyO/4p5L5a63vWkY3rQZ+AM3Ei4J k8j2+hHYiXexI8CIVe7kXN1ztYJE5qrHn4hhtABPzrRjNBvl+QmQ/ESw1gCulJsmIVxJ wZbhpsmc9FIrQ90Wp4Rc8TU4bPhs1vdI042MMSk1dq0pBg02+qVgdcJ0Ur615h6NFbJq zEtpesBJVOsW6a9t1ccHtzwBGOIRmpbED3YPo++iefjgfc1fvRdYaUZUrEkJ0NmATe6X uK+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codesynthesis.com header.s=mail1 header.b=r3GSkmhS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r23-20020a056402019700b00410acef025asi10910748edv.319.2022.03.02.09.18.12; Wed, 02 Mar 2022 09:18:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@codesynthesis.com header.s=mail1 header.b=r3GSkmhS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242162AbiCBNZQ (ORCPT + 99 others); Wed, 2 Mar 2022 08:25:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240476AbiCBNZP (ORCPT ); Wed, 2 Mar 2022 08:25:15 -0500 X-Greylist: delayed 451 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 02 Mar 2022 05:24:31 PST Received: from codesynthesis.com (codesynthesis.com [188.40.148.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3BDE2DE7; Wed, 2 Mar 2022 05:24:31 -0800 (PST) Received: from brak.codesynthesis.com (197-255-152-207.static.adept.co.za [197.255.152.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by codesynthesis.com (Postfix) with ESMTPSA id F29BD60649; Wed, 2 Mar 2022 13:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codesynthesis.com; s=mail1; t=1646227019; bh=UOjLTGh9VnGwEHppHHwqZk2iztOOX8qewpK+K/jJ+xM=; h=Date:From:To:Subject:Message-ID:MIME-Version:From; b=r3GSkmhSztpDSU+zg1vAnDlAiXumarbdIXVOiP5/7/V4F2sjxgkjGG395Ntm3HrRw SYajSAE9iaDS+jTT7SgbYzZP4vStXBwRByGS2DkvG+qQUxUUBB/onq46HMk21EHZG7 ZYFRo489zgedcYlEqJ1ZhCd8Xh/NJydSoendAwtZQaco4O7enTsWLb7SxNaMR0TUoz Dd8MX0LKes/JGq8mHOkco22llqMqqyeTdxerW25DUvzRqAH3TjD8h3IscylLLSKCak dY+ieKahwepavwb38OVXz6yI8lee++xsTWtOVvpQ8MvHXH8n9YzL+g6lF6A/hlEDEH sqg0r9AWB5dYw== Received: by brak.codesynthesis.com (Postfix, from userid 1000) id 68ECF1A802AE; Wed, 2 Mar 2022 15:16:53 +0200 (SAST) Date: Wed, 2 Mar 2022 15:16:53 +0200 From: Boris Kolpackov To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kconfig: change .config format to use =n instead of "is not set" Message-ID: References: <20220226123755.85213-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220226123755.85213-1-masahiroy@kernel.org> Organization: Code Synthesis User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. Reviewed-by: Boris Kolpackov