Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2511533rwb; Sun, 15 Jan 2023 17:06:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXtGMl3YbcrzXkhWY/dQm7TY9EZu8Aydzq/xZmujuHcx+slkSInJLplzgfkeNz17bBXGqkkE X-Received: by 2002:a17:906:c24f:b0:7c0:efb9:bc0e with SMTP id bl15-20020a170906c24f00b007c0efb9bc0emr70720214ejb.62.1673831186557; Sun, 15 Jan 2023 17:06:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673831186; cv=none; d=google.com; s=arc-20160816; b=fsFVztKlKqwpwIIxicgWbLMKVnlSZDWKwewDnUVC6vmorghcedNi6A9P/WaxiXMvFU CVv+jz6d9Kgg1VpaOA63H3XN4NTHC+uWbSzuF/zUhQMl/ROAi8/HzqygF1RK9UHIEyRf svcO+0v3EIKV5surMXPeeeGTbQ65zztfKVo2IHvteeNIZ/mFqebk75awyvBugxROaqs+ u/oVriD8znNv0KeXpWHOkMBCEN3ZbtlW6cQJrjsgJKp8tT6lNOC5wsndPvnl0ihVWIBO fp5KSImQWoTGcXRLr8X6MZ+CdWQ+fTNwNcsEOAUsrw+FFkmoa8KgZ3zJTAxUfWSh6Cef Igcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iggu42fpMPCC/JvbodIoxl6WKIv5OX3Xu3k05p/hDmk=; b=Ewj9zqLEiAP5fAw2WlEZgCtUWqP4eNvTygzL0jGeLwcF213oan0LdQoOSvBGjRQLCt 0rGpuZ3G9PnF23CumHDxBBPIaudlMfVjv95w8xCqZkv/hWxUkNumqv1YgGto4UrfC4TJ JUciSnlCgp667qva0XXvtne8skIKZCSrpX5wW4OgRxDq7nAxURtfSoOya+2BNw4RhoPd GQELmyTHa+ffOmpiJqU90bW9urfDRWo2RCGvJALwCY4JPzt4LJQA/nI64D8RdHHm/pEK Sq4BDMKVcH01IBrRZZGEApVGFuQXh+dON8ZxZFh+GTZ22ejmkrojduT3G+tQemDM3W9J TCjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=vvAIsznG; 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 sh40-20020a1709076ea800b0086c6709b8bfsi7560987ejc.648.2023.01.15.17.06.13; Sun, 15 Jan 2023 17:06:26 -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=@infradead.org header.s=bombadil.20210309 header.b=vvAIsznG; 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 S231715AbjAPA4H (ORCPT + 52 others); Sun, 15 Jan 2023 19:56:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbjAPA4F (ORCPT ); Sun, 15 Jan 2023 19:56:05 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 600F4B75A; Sun, 15 Jan 2023 16:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=iggu42fpMPCC/JvbodIoxl6WKIv5OX3Xu3k05p/hDmk=; b=vvAIsznGgtklvdBSuFMOQnMfkt 21OXgPGr/WMilHQWc5kZrtyk7iW5sQ+uLGOPhfv0Zuyj+dIEPmN12Atoov4nOr+iMdTiUrbjvM8Zw 1Kt63fC/5CHrM5FwI+E/ZH5ZdzEWbBcy7vPp2XYr+4DDImMi+GTNmXn4oijtXCOOeIYGdsb+n2INT QaM9fnx0+/PXGgeeZEb/SAUVqhYPGyJxWIy7lP4N31TivTu2dapbHCTBkvUeUasVSmmdypoZfZTnK +KY1shhMDSIY4mWCt2hUkFEuaa2btC25SwOkFapdc+cf/ycboJKQhYAJNbD5u6Z3mPbRBw5rTYblE uj+xk7Vg==; Received: from [2601:1c2:d80:3110::9307] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHDn2-008G9G-0i; Mon, 16 Jan 2023 00:55:56 +0000 Message-ID: Date: Sun, 15 Jan 2023 16:55:55 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] Documentation: Avoid duplicate Kconfig inclusion Content-Language: en-US To: Peter Foley , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20230114-doc-v1-1-efec2689e423@pefoley.com> <87edrxgk25.fsf@meer.lwn.net> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 On 1/15/23 16:42, Peter Foley wrote: > On Sat, Jan 14, 2023 at 8:25 AM Jonathan Corbet wrote: >> The duplicate inclusion does seem worth fixing, but I wonder if you're >> deleting the right one? Having the documentation Kconfig under lib >> seems a bit strange, somehow; Documentation/ is a top-level directory, >> after all. > > I thought about that. > Looking at the history, the toplevel inclusion was added in > b1663d7e3a7961 (2019-06-04), and the lib/Kconfig.debug inclusion was > added in 75442fb0ccaacd (2020-10-30). > Given the actual entries in Documentation/Kconfig > (WARN_MISSING_DOCUMENTS and WARN_ABI_ERRORS), putting them under the > "Kernel hacking" menu makes sense to me. > We *could* add a new top-level menu to Documentation/Kconfig, but it > doesn't really seem like an improvement over having them live in > Kernel hacking. Since b1663d7e3a7961 puts the Documentation/Kconfig just after lib/Kconfig.debug, there's not much difference in its location in a *config menu, but I would rather see it separated (independent) from lib/Kconfig.debug because I think that it would make any future changes easier. Also, b1663d7e3a7961 came first. :) -- ~Randy