Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2919056rwr; Fri, 21 Apr 2023 17:04:46 -0700 (PDT) X-Google-Smtp-Source: AKy350YoMMDQauwK11iYchvbaEpF9y5lhrtTK66MQQ+5iGAlKaLFY4ikCA5E9HMMwsGTGmxcktp9 X-Received: by 2002:a17:90a:16:b0:247:a17:9258 with SMTP id 22-20020a17090a001600b002470a179258mr5922024pja.2.1682121885984; Fri, 21 Apr 2023 17:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682121885; cv=none; d=google.com; s=arc-20160816; b=H53qdcCHZ5fo1fu8FJVVK5Q+65oC//ROHrbK+9i/nl98lpar2Ioo+BFGI+B34rhMSr wZ+cctPdH6NznqoK0cYZobAdeYiAEyOffXIX/ePc0kbtRiomjOWovxWcHiAD5NdqmAES nFSk4pg3i1hENM8q9cZPddg7a942tug1fL66ZIZrJrOhs5JbSeqkPgvdyzQhDwwDC1ES 7dqJot8kSjVA9hzwG9tvyS9fq8qdbAt51paysEGuuDgC79O6cPCKt/k2wiyIyRKG1bnc 7qsbcWM0m9VE8mRF2LjG0kDAZujxzsSJjRYB/DsugWoO1IFScPkcNdFms0f92fjO9zE/ Xn0g== 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=38uIKrEkm/KHYjQ9Ld2WXvwa9CxwZa7VCqEcFp/aR3U=; b=UGvWCif2+MCAu80H1smJwvp/9ExkDYuZ1ugTJpZqZPcY3ZIgEUdMs0J2JiE7gsTJD2 Sd0nnu7rBLGd9v0c8qVeiaCa1Hz14YCqGgtYwAGUld5szUOCU8CxbpyEPjkK2oDLfDJI GrHhGHZRJg0Aq7PVHLZlo0BRQT8pG+22ERzVa2r70nR+XcQlvZPGOQQL5+iklQaI8+oT 9BnwJ6yatOeod11rbeFVC2vCLTgPg1cKf6GAxg5qdqajVcFaYxdoq/IR816HpyP8WlSI ThypM+j+jHWaWZ3eX+18bNP8dUjyIkhDNrTiobWJWMguzBi6qibG0njWNIEdOMImRrKy 9XEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=B9ID0WJg; 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 x1-20020a17090a46c100b002477fae9d73si5469395pjg.140.2023.04.21.17.04.34; Fri, 21 Apr 2023 17:04:45 -0700 (PDT) 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=B9ID0WJg; 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 S233942AbjDVADg (ORCPT + 99 others); Fri, 21 Apr 2023 20:03:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233765AbjDVADV (ORCPT ); Fri, 21 Apr 2023 20:03:21 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6265726B5; Fri, 21 Apr 2023 17:03:18 -0700 (PDT) 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=38uIKrEkm/KHYjQ9Ld2WXvwa9CxwZa7VCqEcFp/aR3U=; b=B9ID0WJg5NwnBuxfJ/ItrM5eb0 wDirm9AZhAj6AcqEcFoinxIjZX1dnypg6RBnfcNTOldLtDU+Tbb2Y6xUC3dOOmEEtSyta56OTCX4P L/JK+aaSRsEwS2giC6+bUg3wVxrfv94OG3K/XwlIZpsgB+K2mpbuUghA1Hd/4RnCGWgefxoy8CGka j+rQyfPUpUZho0VRFLR7qnKy/O1RCq19JaNu+3X1n6ny1BfMYuUyWCcGTzI7pDGKxIn7/rnJSHooU 5YLkUBRwP095/yvt8k0diIj2e6mUQMhzLfbeIoqllvXm1yWitz4Ox8UCxsPY0qNQZmizIyVOBnl1g 0g/SHlmQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pq0ii-00C7Mx-2a; Sat, 22 Apr 2023 00:03:16 +0000 Message-ID: Date: Fri, 21 Apr 2023 17:03:15 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 stable-5.10.y stable-5.15.y] docs: futex: Fix kernel-doc references after code split-up preparation Content-Language: en-US To: Salvatore Bonaccorso , stable , Greg Kroah-Hartman , Sasha Levin Cc: Peter Zijlstra , Thomas Gleixner , =?UTF-8?Q?Andr=c3=a9_Almeida?= , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet References: <20230421221741.1827866-1-carnil@debian.org> From: Randy Dunlap In-Reply-To: <20230421221741.1827866-1-carnil@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Please see https://lore.kernel.org/all/20211012135549.14451-1-andrealmeid@collabora.com/ Don't know what has happened to it though. :( On 4/21/23 15:17, Salvatore Bonaccorso wrote: > In upstream commit 77e52ae35463 ("futex: Move to kernel/futex/") the > futex code from kernel/futex.c was moved into kernel/futex/core.c in > preparation of the split-up of the implementation in various files. > > Point kernel-doc references to the new files as otherwise the > documentation shows errors on build: > > [...] > Error: Cannot open file ./kernel/futex.c > Error: Cannot open file ./kernel/futex.c > [...] > WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 3.4.3 -internal ./kernel/futex.c' failed with return code 2 > > There is no direct upstream commit for this change. It is made in > analogy to commit bc67f1c454fb ("docs: futex: Fix kernel-doc > references") applied as consequence of the restructuring of the futex > code. > > Fixes: 77e52ae35463 ("futex: Move to kernel/futex/") > Signed-off-by: Salvatore Bonaccorso > --- > v1->v2: > - Fix typo in description about new target file for futex.c code > - Indent block with build log output > > Documentation/kernel-hacking/locking.rst | 2 +- > Documentation/translations/it_IT/kernel-hacking/locking.rst | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst > index 6ed806e6061b..a6d89efede79 100644 > --- a/Documentation/kernel-hacking/locking.rst > +++ b/Documentation/kernel-hacking/locking.rst > @@ -1358,7 +1358,7 @@ Mutex API reference > Futex API reference > =================== > > -.. kernel-doc:: kernel/futex.c > +.. kernel-doc:: kernel/futex/core.c > :internal: > > Further reading > diff --git a/Documentation/translations/it_IT/kernel-hacking/locking.rst b/Documentation/translations/it_IT/kernel-hacking/locking.rst > index bf1acd6204ef..192ab8e28125 100644 > --- a/Documentation/translations/it_IT/kernel-hacking/locking.rst > +++ b/Documentation/translations/it_IT/kernel-hacking/locking.rst > @@ -1400,7 +1400,7 @@ Riferimento per l'API dei Mutex > Riferimento per l'API dei Futex > =============================== > > -.. kernel-doc:: kernel/futex.c > +.. kernel-doc:: kernel/futex/core.c > :internal: > > Approfondimenti -- ~Randy