Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2510464rwb; Sun, 15 Jan 2023 17:05:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXu+HP6XBKZsQGM9XLt8Kpj5BAzmcsAQF1WwE6pzpcgPPUZUPQySmG+83dbUwscGncZfU9KC X-Received: by 2002:a17:906:d117:b0:84d:1500:abde with SMTP id b23-20020a170906d11700b0084d1500abdemr12133174ejz.73.1673831119862; Sun, 15 Jan 2023 17:05:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673831119; cv=none; d=google.com; s=arc-20160816; b=V/lc+tKJW8+SCNfcQfN5gm0q5MtUMHNvm8bZFrsHMdI9GVp+SgDW1+MIN/dae6AvFA DParARsOTdPm0n6RWkVOhGuQ4Yxh5IM92ceIvExOwrrAizdkUtRScYWeIhePH8WQJqTy +CLzWbedMYUVvvGKpbyi+FcyLKwc26WNLYcxsXtRAqoWIOzG+9mG15n8cHPlYLBvinYQ ASPm9jJAkxvPbrjZeJfnm6NCUUTFxTHRCKNAx9sd91/odbpvviPoBjbaKMxC1HJvbMq8 In1jwQsyozHec0YqbzTlTlmYKRsCRAYCS5OgH50BwoQT7Xl0mt/Pb7wLMXdkw3iKhH+8 wATQ== 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; bh=6baWnHaMeq//wWgiDgPtR7wttjvBbwrgF13EwkKD/cE=; b=mbg75BHJNA9icatLJYDexISFARqygVAZKY8nl92KhDusqVGh0C8qFwHTmIa5SH5CkO HtqMpI4bP/RWO1W0iNogTGWwpyEFgpkvZ0lQ/jHBlUbAV4XKRGF/xT3/JVky4A/Zmgoq DcWHjljwWRzVa/IcPbhWrnZVR5kIaDeoY2VbwSylZX6ZKkQVQkTjqinZrqwMiSjINekR JDL+40yazItnYwGS2u6saxzX1pz5MFt8WqnObXzN/z+Rmz0bCSt/8BvMdnsCF13GleWZ aOFZ7riSwtVld0TzVFn2CcyYHsbXZhJWA/k0stIDXA7vFBVJp1UpMi/MW6NER4aAn/Cv pK1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b=fQ645zQj; 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 ho38-20020a1709070ea600b0084ce55f4b7csi33990013ejc.470.2023.01.15.17.05.07; Sun, 15 Jan 2023 17:05:19 -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=@pefoley.com header.s=google header.b=fQ645zQj; 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 S231696AbjAPAmX (ORCPT + 52 others); Sun, 15 Jan 2023 19:42:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231428AbjAPAmS (ORCPT ); Sun, 15 Jan 2023 19:42:18 -0500 Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA6896A4A for ; Sun, 15 Jan 2023 16:42:17 -0800 (PST) Received: by mail-ua1-x92e.google.com with SMTP id f5so4036793ual.12 for ; Sun, 15 Jan 2023 16:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pefoley.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6baWnHaMeq//wWgiDgPtR7wttjvBbwrgF13EwkKD/cE=; b=fQ645zQjAeaiKdNcfuKaw5q60oC3763af0bKnIpQK9n0Vx7E11+DcrztbGRzukep0S 6gn9f2ePl10gZ9WD3YtyNk5j9PZ8cm4v7znaVvfrc1pgU/VuuOre37Dh/k+MZ1rGQyhs m5VFC0p94hj68AHm7ID1eC1g8sPXhCQD4HA68= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6baWnHaMeq//wWgiDgPtR7wttjvBbwrgF13EwkKD/cE=; b=R+T3gZopsptFAEl22IVtBZwniUGtIMmvmRh7+2ChMHMzmr/R34o/qXcLw1jRt/RX6v dvcJ8tX7cWqORy4o/5aSEGKV92PK3x/i4CIOh2ckzlNdFVq3pG6tdPlNvjNXw+CVazXV KF6bPYALhS1EuesWy1y26b1WYzCA7hGr3v0WMmKqUGWb4XPvh92mhvim4VjwuOMBt9S5 F1TubTff4CoNo4hNSdqZO1HjLna2gpktcJcFCBAAYKyaNgwFBNRpEvlWVVEMzotTfgGW pzqHKKWVKY9gIfv1T7FAdrIfY+9tpWJA6CUxxBcDq01sfOyALolSQ3Cvzaw/4jJsqpPD VpQw== X-Gm-Message-State: AFqh2kppppn9n3UmzGsR0HULeeVFsbgcEHSXAzL9A4953XJSOsuvOB2i 5U8dOAqhUCz0c7B3dTplXN09qyqx0EKLtwX++x6wsg== X-Received: by 2002:ab0:2b93:0:b0:60a:bb33:8267 with SMTP id q19-20020ab02b93000000b0060abb338267mr129165uar.47.1673829736705; Sun, 15 Jan 2023 16:42:16 -0800 (PST) MIME-Version: 1.0 References: <20230114-doc-v1-1-efec2689e423@pefoley.com> <87edrxgk25.fsf@meer.lwn.net> In-Reply-To: <87edrxgk25.fsf@meer.lwn.net> From: Peter Foley Date: Sun, 15 Jan 2023 16:42:05 -0800 Message-ID: Subject: Re: [PATCH] Documentation: Avoid duplicate Kconfig inclusion To: Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 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.