Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2783302rwr; Fri, 21 Apr 2023 14:09:05 -0700 (PDT) X-Google-Smtp-Source: AKy350Z2ia+tKMsPOUJX6LBbcQNe6h6de+83/6C2FGt+o147RSxBLntlDZL/grahqmUj8OBmQp7G X-Received: by 2002:a17:902:e808:b0:1a6:6bdb:b548 with SMTP id u8-20020a170902e80800b001a66bdbb548mr7617263plg.1.1682111344965; Fri, 21 Apr 2023 14:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682111344; cv=none; d=google.com; s=arc-20160816; b=wFzmKvZ2C8+IRv+HXDoLkdJfIRqM+x+KXxcaYSWWmEf5GWcvY7AXotZFwoJ+/ZyQxZ 6znEPM3sGQVSVh8BS2MW6/L2rfZDSIG7b/wZfxdTBKy6QRm/khlAfOW2kgNADN3x+FCG FMTGt23glg55HSq+GuUhjYuYoBuKrQyOWRYsNnsuTO+zx2MujzpOt4LAwcssGx6p0zf5 EczVqWWQBOKzzDzeRx5wLkeJq7/xfPEaxrPGdTBVFmOO6btuz2CuqQh2LOzE5es3yaau LecG2sxV4LjX7KQsjYu6qXcoAWvJu8JoDD5exwrAPRncy1/4AyLw+5qVaDUH+S452dIp T8NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=BHJwicqGedpG3F45WxlpSv7ibTlnrQxRCpEjPy9k+UY=; b=uoZ3G8ezt4TmAvu7aUfWElabNfujt95XotzRDxWSpjID8E5wz+eXFL6HQ33QnxHsJ9 hHmxz83oIaj++jLU9vXsNFNu8tpKiL5wntQJDC8EKvEZ/0pfY2/Yi3gwo3yKP+0lpaHd HrwgCoJJvMVYSQe6LvwYF9PIumoR5GmbTxoXF5TKF+lljFthc2C/RYo/LpgNiWpPysYc OQPxXvICbkuDEF1qdAFzw18YeHQTJ4+7RgOr+NNO7tHpYs0dEsZweAenqhCeO+v1rDRr WllO2dA9+sHQ4Rf1HRCaf4hq7UHFrNM0hIo12CohoK1oAp/Xr/7Ltl/dJR+/CHcGhbB3 45fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EiPNTj7F; 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 v10-20020a170902b7ca00b00194a5108613si5140415plz.177.2023.04.21.14.08.54; Fri, 21 Apr 2023 14:09:04 -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=@gmail.com header.s=20221208 header.b=EiPNTj7F; 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 S233435AbjDUVF7 (ORCPT + 99 others); Fri, 21 Apr 2023 17:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232081AbjDUVF6 (ORCPT ); Fri, 21 Apr 2023 17:05:58 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 553FA2106; Fri, 21 Apr 2023 14:05:51 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-956ff2399c9so285412566b.3; Fri, 21 Apr 2023 14:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682111150; x=1684703150; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=BHJwicqGedpG3F45WxlpSv7ibTlnrQxRCpEjPy9k+UY=; b=EiPNTj7FOsR9jYvy+BFpZTnvmGPO4T7ZLWayDyxqY16yij1n9HDhbp88L7y06tCI5b nUd4P1R/bgRrFPMtRRI0HMglmnN3cPH2rFPbJJydzo8th11izdn/GyVshi500Y4aw6Kp CywzdQpkjiiMexX7RzdouqPOKnfS99OvR+0SdR0QaIt3eHslE5BveF7ox9fBSn+pCZbP afohXYrnB0Yw3Jp5sDDPUtMfoaaYsyEeqhTft61E30KTrTz1Q0RzGDqIitULtMHIJzGL vEEMTvc5y8h/mfByQg3zcFZpRrnLE7H6rluQ+b2uuiURpDXVCIJvk1K5Ofpf0NDE2nZ5 xv1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682111150; x=1684703150; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BHJwicqGedpG3F45WxlpSv7ibTlnrQxRCpEjPy9k+UY=; b=em1Ze3MEfhQkuLKcN8RALlcO/N3L/qIJYxs6FR4mDj0RSjj5ltT5cYUS6+5afC6z88 9ybdVvd1REsp3AbT/RjT3qaOYHUmhldewT4q+9AwUT6if0XkZ3KLgN5MndyDOKAklt8y +4CnJODY14/3A9wqI//3kO6YAu5iVSKtNxljz9T1HdGPunlyEu+1CX4hE6Ds9YLCX/BV e2pguUGURQKBYFylqzWNkFm1G9pfGcKMqu0imPIAh8qAG9WlIuIYq8mP2GfUaipJlCOp kSO5HxiwvRNYexJUyyAVWw/5+AH/sJnztorqlAmG+CJv9F9Ys+v8dQpTBhvEEUw1o5Tz uZYQ== X-Gm-Message-State: AAQBX9cjgJpdW6oHdf+W9O8ffn0d7K7EBfBT0Im7k1tdCoV7sulpTejF TbOz8NnQc312feXBQH0Q+r+mIyoJ/Pxb2g== X-Received: by 2002:a17:906:e090:b0:94f:5a9:9fdb with SMTP id gh16-20020a170906e09000b0094f05a99fdbmr3415173ejb.67.1682111149740; Fri, 21 Apr 2023 14:05:49 -0700 (PDT) Received: from eldamar.lan (c-82-192-242-114.customer.ggaweb.ch. [82.192.242.114]) by smtp.gmail.com with ESMTPSA id lh21-20020a170906f8d500b0094eeab34ad5sm2460104ejb.124.2023.04.21.14.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 14:05:48 -0700 (PDT) Sender: Salvatore Bonaccorso Received: by eldamar.lan (Postfix, from userid 1000) id 4F7C2BE2DE0; Fri, 21 Apr 2023 23:05:47 +0200 (CEST) From: Salvatore Bonaccorso To: stable , Greg Kroah-Hartman , Sasha Levin Cc: Peter Zijlstra , Thomas Gleixner , =?UTF-8?q?Andr=C3=A9=20Almeida?= , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet , Salvatore Bonaccorso Subject: [PATCH] docs: futex: Fix kernel-doc references after code split-up preparation Date: Fri, 21 Apr 2023 23:05:31 +0200 Message-Id: <20230421210531.1816665-1-carnil@debian.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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