Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2796368rwr; Fri, 21 Apr 2023 14:24:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YucNNEiEywsw8vEIPEfqOAjw8XtWnX6hdGfkXaRtUKMy/DPQMNiAlNi4P209J2clk+++UV X-Received: by 2002:a05:6a20:8e19:b0:d7:3c1a:6c9a with SMTP id y25-20020a056a208e1900b000d73c1a6c9amr7239667pzj.4.1682112247537; Fri, 21 Apr 2023 14:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682112247; cv=none; d=google.com; s=arc-20160816; b=V2TV8JH+ZGInTs5VoFJrIopPn0ozJrNY0VbouKBeDZL+zA8O48AaepjLgtdsXoDI2o cmF6HMRLcUfAhA1Z+poIBhAFN/jFaCZUrxjlV1/YuHWau+L22biVhqnidCifQ9IxRsc9 UVJ+3SNnrOxXiqv5HKVZnAsdicW3QYflhr+Nsy24twddGmOvOoDtZuVX538X/qEt9Yie 8gUCEYM+OIipICu6kFcX/kq8qoKNpCr4PGqPKN7HHwnWnHD8AGaoCuxkXb4KoAbiTJtQ aeHulLW+MosTwO40g01KWhfovsaX2ZylQQBEEY4qldIRU1TANjSNEgtZPec86U9bwg1o bpIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=52NtA3JB/XmoHgtERqN2dcuDYE9sR3LLAJHMFpHloW4=; b=zuoqwa6q18Xs9IJ81HfyghAUwAQmU5c2CZLtaaM2c9tYZgwTNIBK2jdAyvkEQlv201 d2vnyTwoojFYyt5jmwfiTYOZkAhXXr4RPzSSGW1+LVSsY20xZ4kdeh2XBuULBwk11EJa dPkknVF7Alt2cGeSRZUCC9DaImDM1752rYnGX/TPaUgTZoSeJxyl3jg+ifgSRm/02oTx tgWpfm2rlx9Hvsto3f6/kNFLvo9wRDA1s17PqsXDwZpZVBGu42i8yIJF/UpL3flheamj Ijp0m2VeO5eV+PMXtGe42o6g10Ij2m5PGdVk9f+2dZgtfKalPE+RwJNece3G75ohF3zj nG/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=apKr8PI5; 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 u186-20020a6385c3000000b0051970ed57e0si5432051pgd.9.2023.04.21.14.23.54; Fri, 21 Apr 2023 14:24:07 -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=@debian.org header.s=smtpauto.stravinsky header.b=apKr8PI5; 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 S233561AbjDUVNj (ORCPT + 99 others); Fri, 21 Apr 2023 17:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233235AbjDUVNf (ORCPT ); Fri, 21 Apr 2023 17:13:35 -0400 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30751A8; Fri, 21 Apr 2023 14:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=52NtA3JB/XmoHgtERqN2dcuDYE9sR3LLAJHMFpHloW4=; b=apKr8PI52BfBTwztDmazT2CW97 gnezCFkSqJc48UfEN5PNWSEtVt4aXq8B1e0VeJiW1OQocrmGXjXJ1B+y57xKQa9ZXrfbge+syt8I6 alCAcMLRq3zZjoN+Zxt8TdZIskGN8XtdwxQZQj4DohcJMFj2UHBSBatDt0CjiMLpifraWJLN1bOyg vHnd0oLaIdGmTj3wc9KZeZ3UY2Hmt2hiCghxNxGksbmgdgEO9f3N005y4GkYMt+KMwOm3WRJcLFOl AdHnXmdLrGsRBW4vx6px68gFQU6IXhRfbwzkq+SGxPxUtFYIbtpaMo4Ob2QOw5nJYSmeIJS0gDNib wRuryeEA==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1ppy4A-007mch-Bd; Fri, 21 Apr 2023 21:13:14 +0000 Received: by eldamar.lan (Postfix, from userid 1000) id 1E489BE2DE0; Fri, 21 Apr 2023 23:13:13 +0200 (CEST) Date: Fri, 21 Apr 2023 23:13:13 +0200 From: Salvatore Bonaccorso To: stable , Greg Kroah-Hartman , Sasha Levin Cc: Peter Zijlstra , Thomas Gleixner , =?iso-8859-1?Q?Andr=E9?= Almeida , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH] docs: futex: Fix kernel-doc references after code split-up preparation Message-ID: References: <20230421210531.1816665-1-carnil@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230421210531.1816665-1-carnil@debian.org> X-Debian-User: carnil X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 Hi, On Fri, Apr 21, 2023 at 11:05:31PM +0200, 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 > -- > 2.40.0 I had this information in my original subject passed to git send-email, but got lost: As 77e52ae35463 ("futex: Move to kernel/futex/") was backported to the stable-5.10.y series in 5.10.163, and to stable-5.15.y in 5.15.86, this is only needed for those two stable series. Regards, Salvatore