Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2918858rwr; Fri, 21 Apr 2023 17:04:33 -0700 (PDT) X-Google-Smtp-Source: AKy350aV8JlJHSC7iZKxnPd9V91gxFLu1AFJgmN4EmFGPjOpPvQd9FkCog1ruMtb5aw7C9BwFVrn X-Received: by 2002:a17:90a:1994:b0:244:b4ea:add4 with SMTP id 20-20020a17090a199400b00244b4eaadd4mr6174877pji.3.1682121873450; Fri, 21 Apr 2023 17:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682121873; cv=none; d=google.com; s=arc-20160816; b=03+Gj3kQKc/z+ouL4xlh/+zOU+IsINWU4/qmK3noWCTE6Zwu0vKxMw3NTfsozLaz3I VyJKmJRPVL0fysng6TlSK5ZYfEfOSs7/xYfYLlB8H0M5rsRfeOl3KRkoTx6HoF9lL+as o6M6qKasZtVpfADcXHvSAYOt3Gq3wdeYt5V4tXsR8a49VLDszC32kMViGvTMIPThsuUh /W2nxYPZExBb0TwiIXT9+OirQrr/ZPrNNSmGZ+ByYVzMF4ibc2zfJiG4cl8+r36b7v/B J3fswqSmFyDOPnvJBmIvC5w39NUoYZksWYAntnXgikAu50qZaC+CVy4frjgxJoFbXUOH YzWw== 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=+0dfV1eYp/+nsnlca8imSwnEvVZPr6k/2shPoq7dM34=; b=JvOjRqEbb0fwvgAYGqgDqJNyryOTnq3aKxHR6lAkqK4Il+dKwe/NKzxgaEPqfEqwAc +PyhIwmV2R03XWmsOmaDp6G0StX+91NTVtAXhIG6to1vM0xUNYPVQZ1XQGIrBkzfbNYU BdDR0GMgekHTs4AOByVvGbE/o46kZMS7COCW1o6BpmfTuHOPLkt43XP9EhvEjIAhCElU q3NJLPbN9xOvFjXWQIghmjUOKfNC6JI7NdSA8A57yaVHF4+Dww4Now8czj81spfz141N ToVu9D7Q0r2ZBXKq5wLKA6Kql8jCpsJlVovebBNpN1jZxB8q6Neh4FiT0b25rDWzoMFk VPyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Wil964ye; 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 t5-20020a17090a5d8500b0024722164211si7885164pji.127.2023.04.21.17.03.39; Fri, 21 Apr 2023 17:04:33 -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=Wil964ye; 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 S232943AbjDVADE (ORCPT + 99 others); Fri, 21 Apr 2023 20:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231297AbjDVADD (ORCPT ); Fri, 21 Apr 2023 20:03:03 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27050210B; Fri, 21 Apr 2023 17:03:02 -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=+0dfV1eYp/+nsnlca8imSwnEvVZPr6k/2shPoq7dM34=; b=Wil964yehIc5HstIQLofzUOEMb X28bUyCxE9QFQi4OhBIwvd0Yqul1/mB+ZaiOz93EXGeSVRHO6adfd/F4RBqTWR7WHhvkGRHjZMgd7 61xwVjKVxIpbqWOejQOYikYZd7IKF6YHi5EtqoaiyxCkFenn1AGK44hUIs8vEBFeSwsIQPagttjRl /3fYumaohcGWwEOBmZS4uA3uS/x7CZjBrTqEYuFTl5slwdr+xMhiIP2Z3XoGzkWnV5A0bWC0lAs8H pTqVuLfmNbdD8SJQIAAJerKLr1aE1oeo2ey3x+70j+Orn0Ep8FlFP/ni0Fk1pA0TBN4fkqZnbAROF YDxBuCLw==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pq0iS-00C7L7-0t; Sat, 22 Apr 2023 00:03:00 +0000 Message-ID: <81229999-c4c1-61f0-1277-4b7a7c0a1d98@infradead.org> Date: Fri, 21 Apr 2023 17:02:58 -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] 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: <20230421210531.1816665-1-carnil@debian.org> From: Randy Dunlap In-Reply-To: <20230421210531.1816665-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 14:05, 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 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 > --- > 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